From d7c257035d5ffc0bf5d70fa85796aa238e4f4a73 Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Tue, 11 Jun 2024 21:48:29 +0200 Subject: [PATCH] setup-hooks/autoreconf: support structuredAttrs Tested db with and without __structuredAttrs. --- pkgs/build-support/setup-hooks/autoreconf.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/build-support/setup-hooks/autoreconf.sh b/pkgs/build-support/setup-hooks/autoreconf.sh index 6ce879ac092d..763ea649c1c4 100644 --- a/pkgs/build-support/setup-hooks/autoreconf.sh +++ b/pkgs/build-support/setup-hooks/autoreconf.sh @@ -2,6 +2,11 @@ preConfigurePhases="${preConfigurePhases:-} autoreconfPhase" autoreconfPhase() { runHook preAutoreconf - autoreconf ${autoreconfFlags:---install --force --verbose} + + local flagsArray=() + : "${autoreconfFlags:=--install --force --verbose}" + concatTo flagsArray autoreconfFlags + + autoreconf "${flagsArray[@]}" runHook postAutoreconf }