Merge pull request #73606 from samueldr/fix/valgrind-cross

valgrind: Add perl as a native build input
This commit is contained in:
Florian Klink 2019-12-06 22:44:12 +01:00 committed by GitHub
commit 898e981bda
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,6 +16,9 @@ stdenv.mkDerivation rec {
# Perl is needed for `callgrind_{annotate,control}'.
buildInputs = [ gdb perl ] ++ stdenv.lib.optionals (stdenv.isDarwin) [ bootstrap_cmds xnu ];
# Perl is also a native build input.
nativeBuildInputs = [ perl ];
enableParallelBuilding = true;
separateDebugInfo = stdenv.isLinux;