Merge pull request #29381 from obsidiansystems/autoreconf-hook

autoreconfHook: Simplify by avoiding `findInputs`
This commit is contained in:
John Ericson 2017-09-14 13:16:53 -04:00 committed by GitHub
commit 12452178e8
2 changed files with 1 additions and 5 deletions

View file

@ -1,9 +1,5 @@
preConfigurePhases+=" autoreconfPhase"
for i in @autoconf@ @automake@ @libtool@ @gettext@; do
findInputs $i nativePkgs propagated-native-build-inputs
done
autoreconfPhase() {
runHook preAutoreconf
autoreconf ${autoreconfFlags:---install --force --verbose}

View file

@ -69,7 +69,7 @@ with pkgs;
### BUILD SUPPORT
autoreconfHook = makeSetupHook
{ substitutions = { inherit autoconf automake gettext libtool; }; }
{ deps = [ autoconf automake gettext libtool ]; }
../build-support/setup-hooks/autoreconf.sh;
ensureNewerSourcesHook = { year }: makeSetupHook {}