openjdk: Add a fix for versions of nix not yet supporting multiple outputs
svn path=/nixpkgs/trunk/; revision=28493
This commit is contained in:
parent
dbce2ffd0f
commit
bff57396f5
@ -117,6 +117,9 @@ stdenv.mkDerivation rec {
|
||||
ensureDir $out
|
||||
cp -av build/*/j2${if jreOnly then "re" else "sdk"}-image/* $out
|
||||
'' + (if jreOnly then "" else ''
|
||||
if [ -z $jre ]; then
|
||||
exit 0
|
||||
fi
|
||||
ensureDir $jre
|
||||
cp -av build/*/j2re-image/* $jre
|
||||
'');
|
||||
|
Loading…
Reference in New Issue
Block a user