diff options
Diffstat (limited to 'pkgs/os-specific/linux/util-linux/builder.sh')
-rwxr-xr-x | pkgs/os-specific/linux/util-linux/builder.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/util-linux/builder.sh b/pkgs/os-specific/linux/util-linux/builder.sh new file mode 100755 index 00000000000..d60064c8b7f --- /dev/null +++ b/pkgs/os-specific/linux/util-linux/builder.sh @@ -0,0 +1,16 @@ +#! /bin/sh -e + +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 |