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/graphics/processing | |
parent | c2553952195cb390c9ae65e2a31ad02cc82d0f76 (diff) |
treewide: Use makeBinPath
Diffstat (limited to 'pkgs/applications/graphics/processing')
-rw-r--r-- | pkgs/applications/graphics/processing/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/graphics/processing/default.nix b/pkgs/applications/graphics/processing/default.nix index 69e5ccb85ec9c..a66e91631422d 100644 --- a/pkgs/applications/graphics/processing/default.nix +++ b/pkgs/applications/graphics/processing/default.nix @@ -21,10 +21,10 @@ stdenv.mkDerivation rec { mkdir -p $out/bin cp -r linux/work/* $out/${name}/ makeWrapper $out/${name}/processing $out/bin/processing \ - --prefix PATH : "${jdk}/bin:${which}/bin" \ + --prefix PATH : "${stdenv.lib.makeBinPath [ jdk which ]}" \ --prefix LD_LIBRARY_PATH : ${libXxf86vm}/lib makeWrapper $out/${name}/processing-java $out/bin/processing-java \ - --prefix PATH : "${jdk}/bin:${which}/bin" \ + --prefix PATH : "${stdenv.lib.makeBinPath [ jdk which ]}" \ --prefix LD_LIBRARY_PATH : ${libXxf86vm}/lib ln -s ${jdk} $out/${name}/java ''; |