about summary refs log tree commit diff
path: root/pkgs/development/tools/misc/valgrind/builder.sh
blob: a3066cf635266741db6d9d65d13737f0e25121ae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
. $stdenv/setup || exit 1

# !!! hack; this is because $linuxHeaders/config.h includes some
# file autoconf.h.  What is that?
export NIX_CFLAGS_COMPILE="-D_LINUX_CONFIG_H $NIX_CFLAGS_COMPILE"

tar xvfj $src || exit 1
cd valgrind-* || exit 1
./configure --prefix=$out || exit 1
make || exit 1
make install || exit 1