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,4 +1,4 @@
{ fetchFromGitHub, stdenv, autoconf, automake, libtool }:
{ fetchFromGitHub, stdenv, autoreconfHook }:
stdenv.mkDerivation rec {
name = "dotconf-" + version;
@@ -11,9 +11,7 @@ stdenv.mkDerivation rec {
sha256 = "1sc95hw5k2xagpafny0v35filmcn05k1ds5ghkldfpf6xw4hakp7";
};
buildInputs = [ autoconf automake libtool ];
preConfigure = "autoreconf --install";
buildInputs = [ autoreconfHook ];
meta = with stdenv.lib; {
description = "A configuration parser library";