refactor to use autoreconfHook where possible

Close #12446.
This commit is contained in:
Robin Gloster
2016-01-17 23:04:40 +00:00
committed by Vladimír Čunát
parent 620c147cce
commit 53b389327e
50 changed files with 188 additions and 320 deletions

View File

@@ -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 ];