7cda27b6ec
If building on x86_64-linux, pass --enable-only64bit to the configure script of valgrind. This disables the 32-bit build, which uses gcc -m32, which is not supported by the standard gcc for x86_64-linux. svn path=/nixpkgs/trunk/; revision=8073
17 lines
435 B
Nix
17 lines
435 B
Nix
{stdenv, fetchurl}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "valgrind-3.2.3";
|
|
src = fetchurl {
|
|
url = http://valgrind.org/downloads/valgrind-3.2.3.tar.bz2;
|
|
sha256 = "0hf48y13mm1c1zg59bvkbr0lzcwng5mb33lgiv3d0gzl4w2r5jhv";
|
|
};
|
|
|
|
configureFlags =
|
|
if stdenv.system == "x86_64-linux" then ["--enable-only64bit"] else [];
|
|
|
|
meta = {
|
|
description = "Award-winning suite of tools for debugging and profiling Linux programs";
|
|
};
|
|
}
|