mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
coprthr: ensure we use the right perl
Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
parent
ba085ee318
commit
3b873648b3
|
@ -13,6 +13,12 @@ stdenv.mkDerivation rec {
|
|||
buildInputs =
|
||||
[ libelf libconfig libevent which unzip perl python bison flex ];
|
||||
|
||||
patchPhase = ''
|
||||
for x in src/libocl/gen_oclcall_hook.pl tools/cltrace/gen_interceptor.pl src/libocl/gen_oclcall.pl src/scripts/gen_ocl_call_vector.pl src/libstdcl/gen_clarg_setn.pl; do
|
||||
substituteInPlace $x --replace "/usr/bin/perl" ${perl}/bin/perl
|
||||
done
|
||||
'';
|
||||
|
||||
configureFlags =
|
||||
[ "--with-libelf=${libelf}"
|
||||
"--with-libevent=${libevent}"
|
||||
|
|
Loading…
Reference in a new issue