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:
parent
2024d55020
commit
021322883b
|
@ -16,6 +16,9 @@ stdenv.mkDerivation rec {
|
||||||
# Perl is needed for `callgrind_{annotate,control}'.
|
# Perl is needed for `callgrind_{annotate,control}'.
|
||||||
buildInputs = [ gdb perl ] ++ stdenv.lib.optionals (stdenv.isDarwin) [ bootstrap_cmds xnu ];
|
buildInputs = [ gdb perl ] ++ stdenv.lib.optionals (stdenv.isDarwin) [ bootstrap_cmds xnu ];
|
||||||
|
|
||||||
|
# Perl is also a native build input.
|
||||||
|
nativeBuildInputs = [ perl ];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
separateDebugInfo = stdenv.isLinux;
|
separateDebugInfo = stdenv.isLinux;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue