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 c756f0f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion nix/pkgs/aapt2/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,12 @@ 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="native-platform-linux-amd64-0.22-milestone-24.jar"
fi
cp $src $out/$filename
done
tmpDir=$(mktemp -d)
unzip $out/${filenames.jar} -d $tmpDir
'';
Expand Down

0 comments on commit c756f0f

Please sign in to comment.