diff options
author | Tuomas Tynkkynen <tuomas@tuxera.com> | 2016-08-23 01:06:51 +0300 |
---|---|---|
committer | Tuomas Tynkkynen <tuomas@tuxera.com> | 2016-08-23 01:18:10 +0300 |
commit | 74a3a2cd7e409062ad3efa61e84d366a8f67c853 (patch) | |
tree | 3c12e08e51c0d1a2ec942ca02cb9cdbcc407b35d /pkgs/applications/editors/netbeans | |
parent | c2553952195cb390c9ae65e2a31ad02cc82d0f76 (diff) |
treewide: Use makeBinPath
Diffstat (limited to 'pkgs/applications/editors/netbeans')
-rw-r--r-- | pkgs/applications/editors/netbeans/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/editors/netbeans/default.nix b/pkgs/applications/editors/netbeans/default.nix index 363da0d38263..289de0ad91ac 100644 --- a/pkgs/applications/editors/netbeans/default.nix +++ b/pkgs/applications/editors/netbeans/default.nix @@ -32,7 +32,7 @@ stdenv.mkDerivation { mkdir -p $out/bin cp -a netbeans $out makeWrapper $out/netbeans/bin/netbeans $out/bin/netbeans \ - --prefix PATH : ${jdk}/bin:${which}/bin \ + --prefix PATH : ${stdenv.lib.makeBinPath [ jdk which ]} \ --prefix JAVA_HOME : ${jdk.home} \ --add-flags "--jdkhome ${jdk.home}" |