diff --git a/pkgs/development/tools/analysis/valgrind/default.nix b/pkgs/development/tools/analysis/valgrind/default.nix index b5abff94c796..8e2db5caab1b 100644 --- a/pkgs/development/tools/analysis/valgrind/default.nix +++ b/pkgs/development/tools/analysis/valgrind/default.nix @@ -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;