OK, this version definitely builds both ways
This commit is contained in:
parent
27cdf7af77
commit
5e071cd74d
@ -142,7 +142,7 @@ stdenv.mkDerivation rec {
|
|||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out
|
mkdir -p $out
|
||||||
cp -av build/*/j2${if jreOnly then "re" else "sdk"}-image/* $out
|
cp -av build/*/j2${if jreOnly then "re" else "sdk"}-image/* $out
|
||||||
pushd $out/lib/security || pushd $out/jre/lib/security
|
pushd $out/${if ! jreOnly then "jre/" else ""}lib/security
|
||||||
rm cacerts
|
rm cacerts
|
||||||
perl ${./generate-cacerts.pl} $out/bin/keytool ${cacert}/etc/ca-bundle.crt
|
perl ${./generate-cacerts.pl} $out/bin/keytool ${cacert}/etc/ca-bundle.crt
|
||||||
popd
|
popd
|
||||||
|
Loading…
Reference in New Issue
Block a user