about summary refs log tree commit diff
path: root/pkgs/tools/networking/biosdevname
diff options
context:
space:
mode:
authorRobin Gloster <mail@glob.in>2016-01-17 23:04:40 +0000
committerVladimír Čunát <vcunat@gmail.com>2016-01-18 10:45:31 +0100
commit53b389327e34de319dc0dbda2b6bcab1a69db69d (patch)
tree04dece6a1e346ccb4563f61ec206cf03dc46e77f /pkgs/tools/networking/biosdevname
parent620c147ccee09d7d068fa21b2b5b94b6695993a5 (diff)
downloadnixlib-53b389327e34de319dc0dbda2b6bcab1a69db69d.tar
nixlib-53b389327e34de319dc0dbda2b6bcab1a69db69d.tar.gz
nixlib-53b389327e34de319dc0dbda2b6bcab1a69db69d.tar.bz2
nixlib-53b389327e34de319dc0dbda2b6bcab1a69db69d.tar.lz
nixlib-53b389327e34de319dc0dbda2b6bcab1a69db69d.tar.xz
nixlib-53b389327e34de319dc0dbda2b6bcab1a69db69d.tar.zst
nixlib-53b389327e34de319dc0dbda2b6bcab1a69db69d.zip
refactor to use autoreconfHook where possible
Close #12446.
Diffstat (limited to 'pkgs/tools/networking/biosdevname')
-rw-r--r--pkgs/tools/networking/biosdevname/default.nix18
1 files changed, 6 insertions, 12 deletions
diff --git a/pkgs/tools/networking/biosdevname/default.nix b/pkgs/tools/networking/biosdevname/default.nix
index 86fe18e01583..f39f37453551 100644
--- a/pkgs/tools/networking/biosdevname/default.nix
+++ b/pkgs/tools/networking/biosdevname/default.nix
@@ -1,10 +1,9 @@
-{stdenv, fetchgit, automake, autoconf, zlib, pciutils}:
-let
-  version = "0.6.1";
-in
-stdenv.mkDerivation {
+{ stdenv, fetchgit, autoreconfHook, zlib, pciutils }:
+
+stdenv.mkDerivation rec {
   name = "biosdevname-${version}";
-  
+  version = "0.6.1";
+
   src = fetchgit {
     url = git://linux.dell.com/biosdevname.git;
     rev = "refs/tags/v${version}";
@@ -12,16 +11,11 @@ stdenv.mkDerivation {
   };
 
   buildInputs = [
-    automake
-    autoconf
+    autoreconfHook
     zlib
     pciutils
   ];
 
-  preConfigure = ''
-    autoreconf -i
-  '';
-
   # Don't install /lib/udev/rules.d/*-biosdevname.rules
   patches = [ ./makefile.patch ];