strace: use host perl

perl needs to be in buildInputs for patchShebangs to work properly
This commit is contained in:
Matthew Bauer 2020-06-24 20:53:07 -04:00
parent 1a835f911b
commit 3f41da9b38

View file

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