mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
Account for difference between JRE and JDK in build
This commit is contained in:
parent
e862c150f0
commit
e7493370bd
@ -142,7 +142,7 @@ stdenv.mkDerivation rec {
|
||||
installPhase = ''
|
||||
mkdir -p $out
|
||||
cp -av build/*/j2${if jreOnly then "re" else "sdk"}-image/* $out
|
||||
pushd $out/lib/security
|
||||
pushd $out/lib/security || pushd $out/jre/lib/security
|
||||
rm cacerts
|
||||
perl ${./generate-cacerts.pl} $out/bin/keytool ${cacert}/etc/ca-bundle.crt
|
||||
popd
|
||||
|
Loading…
Reference in New Issue
Block a user