summary refs log tree commit diff
path: root/pkgs/os-specific/linux/util-linux/builder.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/os-specific/linux/util-linux/builder.sh')
-rw-r--r--pkgs/os-specific/linux/util-linux/builder.sh13
1 files changed, 1 insertions, 12 deletions
diff --git a/pkgs/os-specific/linux/util-linux/builder.sh b/pkgs/os-specific/linux/util-linux/builder.sh
index 16f015c73a9ac..8e0d2ebc58f08 100644
--- a/pkgs/os-specific/linux/util-linux/builder.sh
+++ b/pkgs/os-specific/linux/util-linux/builder.sh
@@ -1,14 +1,3 @@
-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
+genericBuild