diff --git a/pkgs/build-support/setup-hooks/autoreconf.sh b/pkgs/build-support/setup-hooks/autoreconf.sh index 441d6b43baa..c08cab15868 100644 --- a/pkgs/build-support/setup-hooks/autoreconf.sh +++ b/pkgs/build-support/setup-hooks/autoreconf.sh @@ -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} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ab6b17403a4..fc079f8e2da 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 {}