parallel: fix patch-shebangs
For patch-shebangs to work we need perl to be listed as a build input because it will run on the target system, not the build one. Fixes #46476 /cc @dtzWill
This commit is contained in:
parent
a4630c65ca
commit
72cfa07dd3
@ -8,12 +8,12 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0jjs7fpvdjjb5v0j39a6k7hq9h5ap3db1j7vg1r2dq4swk23h9bm";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper perl ];
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
buildInputs = [ perl procps ];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/parallel \
|
||||
--prefix PATH : "${procps}/bin" \
|
||||
--prefix PATH : "${perl}/bin" \
|
||||
--prefix PATH : "${stdenv.lib.makeBinPath [ procps perl ]}"
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
|
Loading…
Reference in New Issue
Block a user