parallel: no dependency on procps on Darwin

Fixes #9592
This commit is contained in:
Paulus Esterhazy 2015-09-11 10:52:48 +02:00
parent e62b38bee8
commit caf43ad5af

View File

@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
sed -i 's,#![ ]*/usr/bin/env[ ]*perl,#!${perl}/bin/perl,' $out/bin/*
wrapProgram $out/bin/parallel \
--prefix PATH : "${procps}/bin" \
${if stdenv.isLinux then ("--prefix PATH \":\" ${procps}/bin") else ""} \
--prefix PATH : "${perl}/bin" \
'';