oraclejdk8: jmc is only available in jdk, not in jre

This commit is contained in:
Franz Pletz 2016-05-13 17:23:23 +02:00
parent 54e87bad04
commit d510563837

View File

@ -165,8 +165,10 @@ let result = stdenv.mkDerivation rec {
EOF EOF
# Oracle Java Mission Control needs to know where libgtk-x11 and related is # Oracle Java Mission Control needs to know where libgtk-x11 and related is
wrapProgram "$out/bin/jmc" \ if test -n "$installjdk"; then
--suffix-each LD_LIBRARY_PATH ':' "${rpath}" \ wrapProgram "$out/bin/jmc" \
--suffix-each LD_LIBRARY_PATH ':' "${rpath}"
fi
''; '';
inherit installjdk pluginSupport; inherit installjdk pluginSupport;