3
0
Fork 0
forked from mirrors/nixpkgs

valgrind: move perl to buildInputs

Perl is needed for `callgrind_{annotate,control}'.
This commit is contained in:
uHOOCCOOHu 2019-08-27 14:56:54 +08:00 committed by worldofpeace
parent 602282538b
commit d22b4859a1

View file

@ -8,15 +8,13 @@ stdenv.mkDerivation rec {
sha256 = "1ccawxrni8brcvwhygy12iprkvz409hbr9xkk1bd03gnm2fplz21";
};
# Perl is needed for `cg_annotate'.
nativeBuildInputs = [ perl ];
outputs = [ "out" "dev" "man" "doc" ];
hardeningDisable = [ "stackprotector" ];
# GDB is needed to provide a sane default for `--db-command'.
buildInputs = [ gdb ] ++ stdenv.lib.optionals (stdenv.isDarwin) [ bootstrap_cmds xnu ];
# Perl is needed for `callgrind_{annotate,control}'.
buildInputs = [ gdb perl ] ++ stdenv.lib.optionals (stdenv.isDarwin) [ bootstrap_cmds xnu ];
enableParallelBuilding = true;
separateDebugInfo = stdenv.isLinux;