diff options
author | Ludovic Courtès <ludo@gnu.org> | 2008-06-03 21:25:58 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2008-06-03 21:25:58 +0000 |
commit | c28744816a05f1b189abf5b649606bf2b64cf705 (patch) | |
tree | 821115637a407ce590ee0e5f1fbce51e361344eb /pkgs/development/tools/analysis | |
parent | ec86f5b6b40891bb3f0e65f5f627e5a6863cc2ac (diff) |
Valgrind: Fix `callgrind_annotate'.
svn path=/nixpkgs/trunk/; revision=11962
Diffstat (limited to 'pkgs/development/tools/analysis')
-rw-r--r-- | pkgs/development/tools/analysis/valgrind/callgrind_annotate.patch | 8 | ||||
-rw-r--r-- | pkgs/development/tools/analysis/valgrind/default.nix | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/development/tools/analysis/valgrind/callgrind_annotate.patch b/pkgs/development/tools/analysis/valgrind/callgrind_annotate.patch new file mode 100644 index 0000000000000..7b09ead451071 --- /dev/null +++ b/pkgs/development/tools/analysis/valgrind/callgrind_annotate.patch @@ -0,0 +1,8 @@ +--- valgrind-3.3.0/callgrind/callgrind_annotate.in 2007-12-11 00:18:11.000000000 +0100 ++++ valgrind-3.3.0/callgrind/callgrind_annotate.in 2008-06-03 23:12:26.000000000 +0200 +@@ -1,4 +1,4 @@ +-#! /usr/bin/perl -w ++#! @PERL@ -w + ##--------------------------------------------------------------------## + ##--- The cache simulation framework: instrumentation, recording ---## + ##--- and results printing. ---## diff --git a/pkgs/development/tools/analysis/valgrind/default.nix b/pkgs/development/tools/analysis/valgrind/default.nix index 05ba5d75894dd..995cb48313c81 100644 --- a/pkgs/development/tools/analysis/valgrind/default.nix +++ b/pkgs/development/tools/analysis/valgrind/default.nix @@ -8,6 +8,8 @@ stdenv.mkDerivation { sha256 = "0yllx5a2f5bx18gqz74aikr27zxwpblswn65lqvm9rbzswlq5w2s"; }; + patches = [ ./callgrind_annotate.patch ]; + # Perl is needed for `cg_annotate'. # GDB is needed to provide a sane default for `--db-command'. buildInputs = [ perl gdb ]; |