3
0
Fork 0
forked from mirrors/nixpkgs

valgrind: Add perl as a native build input

The changes in #67548 broke cross-compilation not for valgrind, but for
software relying on valgrind at build-time.
This commit is contained in:
Samuel Dionne-Riel 2019-11-17 22:29:44 -05:00
parent 2024d55020
commit 021322883b

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;