diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2020-04-03 07:11:33 +0200 |
---|---|---|
committer | Guix Patches Tester <> | 2020-04-03 06:14:08 +0100 |
commit | d3216507a62bf9de7300f9778264ceea1aec1843 (patch) | |
tree | 2c1c365de51a466ed68b839722e70b304e0310e6 /guix/build/gnu-build-system.scm | |
parent | 7a9543d77ec750d93a0a7832b115db1ae83195a3 (diff) | |
download | patches-d3216507a62bf9de7300f9778264ceea1aec1843.tar patches-d3216507a62bf9de7300f9778264ceea1aec1843.tar.gz |
build-system/gnu: Allow overriding of bootstrap scripts.series-3412
* guix/build-system/gnu.scm (gnu-build, gnu-cross-build): Accept
bootstrap-scripts keyword argument and pass it to gnu-build.
(%bootstrap-scripts): New variable.
* guix/build/gnu-build-system.scm (%bootstrap-scripts): Remove variable.
(bootstrap): Remove default value for bootstrap-scripts argument.
Diffstat (limited to 'guix/build/gnu-build-system.scm')
-rw-r--r-- | guix/build/gnu-build-system.scm | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/guix/build/gnu-build-system.scm b/guix/build/gnu-build-system.scm index 4df0bb4904..72a188955d 100644 --- a/guix/build/gnu-build-system.scm +++ b/guix/build/gnu-build-system.scm @@ -163,11 +163,7 @@ working directory." (chdir (first-subdirectory ".")))) #t) -(define %bootstrap-scripts - ;; Typical names of Autotools "bootstrap" scripts. - '("bootstrap" "bootstrap.sh" "autogen.sh")) - -(define* (bootstrap #:key (bootstrap-scripts %bootstrap-scripts) +(define* (bootstrap #:key bootstrap-scripts #:allow-other-keys) "If the code uses Autotools and \"configure\" is missing, run \"autoreconf\". Otherwise do nothing." |