diff options
author | William A. Kennington III <william@wkennington.com> | 2015-01-01 15:49:20 -0800 |
---|---|---|
committer | William A. Kennington III <william@wkennington.com> | 2015-01-07 14:55:41 -0800 |
commit | c82410eeda78deb3afe898168700772d53361985 (patch) | |
tree | 1f7be826db3a134ad4fa765077fcdc93bab98d9f /pkgs/applications/editors/netbeans | |
parent | bbc4262514107fd6658696ddebfeba7071ac17b1 (diff) |
java: Normalize to the default jre / jdk
Diffstat (limited to 'pkgs/applications/editors/netbeans')
-rw-r--r-- | pkgs/applications/editors/netbeans/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/editors/netbeans/default.nix b/pkgs/applications/editors/netbeans/default.nix index 5a2afebdd5cf..79dbb589d236 100644 --- a/pkgs/applications/editors/netbeans/default.nix +++ b/pkgs/applications/editors/netbeans/default.nix @@ -26,8 +26,8 @@ stdenv.mkDerivation { mkdir -p $out/bin makeWrapper $out/netbeans/bin/netbeans $out/bin/netbeans \ --prefix PATH : ${jdk}/bin:${which}/bin \ - --prefix JAVA_HOME : ${jdk}/lib/openjdk \ - --add-flags "--jdkhome ${jdk}/lib/openjdk" + --prefix JAVA_HOME : ${jdk.home} \ + --add-flags "--jdkhome ${jdk.home}" # Create desktop item, so we can pick it from the KDE/GNOME menu mkdir -p $out/share/applications |