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
# Oracle Java Mission Control needs to know where libgtk-x11 and related is
wrapProgram "$out/bin/jmc" \
--suffix-each LD_LIBRARY_PATH ':' "${rpath}" \
if test -n "$installjdk"; then
wrapProgram "$out/bin/jmc" \
--suffix-each LD_LIBRARY_PATH ':' "${rpath}"
fi
'';
inherit installjdk pluginSupport;