refactor to use autoreconfHook where possible

Close #12446.
This commit is contained in:
Robin Gloster
2016-01-18 10:45:31 +01:00
committed by Vladimír Čunát
parent 620c147cce
commit 53b389327e
50 changed files with 188 additions and 320 deletions
@@ -1,14 +1,11 @@
{ stdenv, zlib, autoconf, automake, libtool }:
{ stdenv, zlib, autoreconfHook }:
stdenv.mkDerivation {
name = "minizip-${zlib.version}";
inherit (zlib) src;
nativeBuildInputs = [ autoconf automake libtool ];
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ zlib ];
preConfigure = ''
cd contrib/minizip
autoreconf -vfi
'';
sourceRoot = "zlib-${zlib.version}/contrib/minizip";
}