diff options
Diffstat (limited to 'pkgs/applications/editors/netbeans/default.nix')
-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 5a2afebdd5cf0..79dbb589d2367 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 |