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:
Michael Alan Dorman 2015-11-26 11:28:17 -05:00
parent 4ce35ba61c
commit d9b858d67e

View file

@ -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;