diff options
author | Sander van der Burg <svanderburg@gmail.com> | 2014-02-07 13:20:52 +0100 |
---|---|---|
committer | Sander van der Burg <svanderburg@gmail.com> | 2014-02-07 13:20:52 +0100 |
commit | 5b243ad01550aaa452ed42d08ee66aa682c07937 (patch) | |
tree | 520d2f067db70b2f31054509c7420a41a843edad /pkgs/applications/editors/netbeans | |
parent | 4f3d4c55ffa45b5216d1d3a8df0a446cd17f0b0a (diff) |
netbeans: Bump to version 7.4
Diffstat (limited to 'pkgs/applications/editors/netbeans')
-rw-r--r-- | pkgs/applications/editors/netbeans/default.nix | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/applications/editors/netbeans/default.nix b/pkgs/applications/editors/netbeans/default.nix index f1fd9adbe86a..5a2afebdd5cf 100644 --- a/pkgs/applications/editors/netbeans/default.nix +++ b/pkgs/applications/editors/netbeans/default.nix @@ -11,10 +11,10 @@ let }; in stdenv.mkDerivation { - name = "netbeans-7.2"; + name = "netbeans-7.4"; src = fetchurl { - url = http://download.netbeans.org/netbeans/7.2/final/zip/netbeans-7.2-201207171143-ml.zip; - sha256 = "18ya1w291hdnc35vb12yqnai82wmqm7351wn82fax12kzha5fmci"; + url = http://download.netbeans.org/netbeans/7.4/final/zip/netbeans-7.4-201310111528.zip; + sha256 = "0nrnghnsdix5cmp86xi1gmvarhjk2k8mlbld3dfa9impm8gpv6mx"; }; buildCommand = '' # Unpack and copy the stuff @@ -25,7 +25,9 @@ stdenv.mkDerivation { # Create a wrapper capable of starting it mkdir -p $out/bin makeWrapper $out/netbeans/bin/netbeans $out/bin/netbeans \ - --prefix PATH : ${jdk}/bin:${which}/bin + --prefix PATH : ${jdk}/bin:${which}/bin \ + --prefix JAVA_HOME : ${jdk}/lib/openjdk \ + --add-flags "--jdkhome ${jdk}/lib/openjdk" # Create desktop item, so we can pick it from the KDE/GNOME menu mkdir -p $out/share/applications |