Partial revert of "parallel: 20150922 -> 20151122"
This is a partial revert of commit ed2b30dc28
.
The changes outside of a new version of parallel broke several go
packages.
This commit is contained in:
parent
4ce35ba61c
commit
d9b858d67e
1 changed files with 4 additions and 3 deletions
|
@ -8,13 +8,14 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "0phn9dlkqlq3cq468ypxbbn78bsjcin743pyvf8ip4qg6jz662jm";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper perl ];
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
preFixup = ''
|
||||
patchShebangs $out/bin
|
||||
sed -i 's,#![ ]*/usr/bin/env[ ]*perl,#!${perl}/bin/perl,' $out/bin/*
|
||||
|
||||
wrapProgram $out/bin/parallel \
|
||||
${if stdenv.isLinux then ("--prefix PATH \":\" ${procps}/bin") else ""}
|
||||
${if stdenv.isLinux then ("--prefix PATH \":\" ${procps}/bin") else ""} \
|
||||
--prefix PATH : "${perl}/bin" \
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
|
|
Loading…
Reference in a new issue