summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/networking/cluster/pig
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas@tuxera.com>2016-08-23 01:06:51 +0300
committerTuomas Tynkkynen <tuomas@tuxera.com>2016-08-23 01:18:10 +0300
commit74a3a2cd7e409062ad3efa61e84d366a8f67c853 (patch)
tree3c12e08e51c0d1a2ec942ca02cb9cdbcc407b35d /pkgs/applications/networking/cluster/pig
parentc2553952195cb390c9ae65e2a31ad02cc82d0f76 (diff)
treewide: Use makeBinPath
Diffstat (limited to 'pkgs/applications/networking/cluster/pig')
-rw-r--r--pkgs/applications/networking/cluster/pig/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/networking/cluster/pig/default.nix b/pkgs/applications/networking/cluster/pig/default.nix
index a5666fc8f321..c99643beb90d 100644
--- a/pkgs/applications/networking/cluster/pig/default.nix
+++ b/pkgs/applications/networking/cluster/pig/default.nix
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
for n in $out/{bin,sbin}"/"*; do
wrapProgram $n \
- --prefix PATH : "${jre}/bin:${bash}/bin" \
+ --prefix PATH : "${stdenv.lib.makeBinPath [ jre bash ]}" \
--set JAVA_HOME "${jre}" --set HADOOP_PREFIX "${hadoop}"
done
'';