summaryrefslogtreecommitdiffstats
path: root/pkgs/servers/elasticmq
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/servers/elasticmq
parentc2553952195cb390c9ae65e2a31ad02cc82d0f76 (diff)
treewide: Use makeBinPath
Diffstat (limited to 'pkgs/servers/elasticmq')
-rw-r--r--pkgs/servers/elasticmq/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/servers/elasticmq/default.nix b/pkgs/servers/elasticmq/default.nix
index 9e0335ed4418..c1216becaf3d 100644
--- a/pkgs/servers/elasticmq/default.nix
+++ b/pkgs/servers/elasticmq/default.nix
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
cp bin/run.sh $out/bin/elasticmq
substituteInPlace $out/bin/elasticmq --replace '-DBASEDIR=$BASEDIR' '-DBASEDIR=''${ELASTICMQ_DATA_PREFIX:-.}'
- wrapProgram $out/bin/elasticmq --prefix PATH : "${which}/bin:${jre}/bin"
+ wrapProgram $out/bin/elasticmq --prefix PATH : "${stdenv.lib.makeBinPath [ which jre ]}"
'';
meta = {