git.iko.soy/typeable/nixpkgs
on master help sign in
valgrind: run autoconf to pick up Makefile.am patch

https://github.com/NixOS/nixpkgs/pull/51107 added a patch to Makefile.am to fix a race condition in the build. It was unfortunately never picked up as we we're using the generated makefile from the tarball.

commitd539b0976845c3754a41a8706ae6188a87f6a20f authorTor Hedin Brønner <torhedinbronner@gmail.com> dateTue 4 Dec 2018, 13:17 (8 years ago) parentc846e8d
1 file changed+4−1
pkgs/development/tools/analysis/valgrind/default.nix+4−1
pkgs/development/tools/analysis/valgrind/default.nix+4−1
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, perl, gdb, llvm, cctools, xnu, bootstrap_cmds }:
1+{ stdenv, fetchurl, perl, gdb, llvm, cctools, xnu, bootstrap_cmds, autoreconfHook }:
22
33stdenv.mkDerivation rec {
44 name = "valgrind-3.14.0";
@@ -8,7 +8,10 @@ stdenv.mkDerivation rec {
88 sha256 = "19ds42jwd89zrsjb94g7gizkkzipn8xik3xykrpcqxylxyzi2z03";
99 };
1010
11+ # autoreconfHook is needed to pick up patching of Makefile.am
12+ # Remove when the patch no longer applies.
1113 patches = [ ./coregrind-makefile-race.patch ];
14+ nativeBuildInputs = [ autoreconfHook ];
1215
1316 outputs = [ "out" "dev" "man" "doc" ];
1417