autoreconfHook: Simplify by avoiding `findInputs`
`findInputs` is a stdenv/setup helper we should strive not to call elsewhere. Using normal deps is more idiomatic anyways.
This commit is contained in:
parent
422adc3063
commit
d242978671
|
@ -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}
|
||||
|
|
|
@ -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 {}
|
||||
|
|
Loading…
Reference in New Issue