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 c1e7d3a
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
if [[ "$filename" == "native-platform-linux-amd64-0.22-milestone-25.jar" ]]; then
filename="native-platform-linux-amd64-0.22-milestone-24.jar"
src=${src//native-platform-linux-amd64-0.22-milestone-25.jar/native-platform-linux-amd64-0.22-milestone-24.jar}
fi
cp $src $out/$filename
done
tmpDir=$(mktemp -d)
Expand Down

0 comments on commit c1e7d3a

Please sign in to comment.