blob: 16f015c73a9acbc124b56a4ed2f9bcec0dcd1469 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
buildinputs="$patch"
. $stdenv/setup
# !!! 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 xvfz $src
cd util-linux-*
patch MCONFIG $mconfigPatch
./configure
make
export DESTDIR=$out
make install
|