strace: use host perl
perl needs to be in buildInputs for patchShebangs to work properly
This commit is contained in:
parent
1a835f911b
commit
3f41da9b38
1 changed files with 2 additions and 2 deletions
|
@ -12,9 +12,9 @@ stdenv.mkDerivation rec {
|
|||
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||
nativeBuildInputs = [ perl ];
|
||||
|
||||
buildInputs = stdenv.lib.optional libunwind.supportsHost libunwind; # support -k
|
||||
buildInputs = [ perl.out ] ++ stdenv.lib.optional libunwind.supportsHost libunwind; # support -k
|
||||
|
||||
postPatch = "patchShebangs strace-graph";
|
||||
postPatch = "patchShebangs --host strace-graph";
|
||||
|
||||
configureFlags = stdenv.lib.optional (!stdenv.hostPlatform.isx86) "--enable-mpers=check";
|
||||
|
||||
|
|
Loading…
Reference in a new issue