Skip to content

Commit

Permalink
patch: unpack phase for missing jar
Browse files Browse the repository at this point in the history
  • Loading branch information
siddarthkay committed Jan 17, 2024
1 parent 2bb32e2 commit 802ea8f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions nix/pkgs/aapt2/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ in stdenv.mkDerivation {
mkdir -p $out
for src in $srcs; do
filename=$(stripHash $src)
# native-platform-linux-amd64-0.22-milestone-25.jar does not exist
# but native-platform-linux-amd64-0.22-milestone-24.jar does exist
if [[ "$filename" == *"native-platform-linux-amd64-0.22-milestone-25.jar"* ]]; then
filename=${filename//milestone-25.jar/milestone-24.jar}
fi
cp $src $out/$filename
done
tmpDir=$(mktemp -d)
Expand Down

0 comments on commit 802ea8f

Please sign in to comment.