diff --git a/pkgs/development/tools/misc/callgrind/builder.sh b/pkgs/development/tools/misc/callgrind/builder.sh index 7431ea5e7ff6..7061fcde9e06 100644 --- a/pkgs/development/tools/misc/callgrind/builder.sh +++ b/pkgs/development/tools/misc/callgrind/builder.sh @@ -6,4 +6,8 @@ cd valgrind-* || fail make || fail make install || fail -genericBuild +tar zxvf $src +cd clg3 || fail +./configure --prefix=$out || fail +make || fail +make install || fail diff --git a/pkgs/development/tools/misc/callgrind/default.nix b/pkgs/development/tools/misc/callgrind/default.nix index c65b25d707af..df99a61d7b25 100644 --- a/pkgs/development/tools/misc/callgrind/default.nix +++ b/pkgs/development/tools/misc/callgrind/default.nix @@ -4,12 +4,12 @@ {stdenv, fetchurl, which, perl}: stdenv.mkDerivation { - name = "callgrind-0.10.0"; + name = "callgrind-0.10.1pre"; builder = ./builder.sh; src = fetchurl { - url = http://kcachegrind.sourceforge.net/callgrind-0.10.0.tar.gz; - md5 = "3bd2afd50fde7db4bd5a59dcb412d5e7"; + url = http://losser.st-lab.cs.uu.nl/~mbravenb/clg3-cvs-2005.11.11.tar.gz; + md5 = "c272cff1c567ba154ccc60fe2ff241d8"; }; valgrindsrc = fetchurl {