aboutsummaryrefslogtreecommitdiff
path: root/guix/build/gnu-build-system.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2020-04-03 07:11:33 +0200
committerRicardo Wurmus <rekado@elephly.net>2020-12-23 13:33:24 +0100
commit9cfc93be30c516fd6fa32915c61c06e03f23a011 (patch)
treee34fcbf7cbe86add635cbbd74b6d7069535b6057 /guix/build/gnu-build-system.scm
parent40f14e3c665861af396458c1d6540fb3d5f43004 (diff)
downloadguix-9cfc93be30c516fd6fa32915c61c06e03f23a011.tar
guix-9cfc93be30c516fd6fa32915c61c06e03f23a011.tar.gz
build-system/gnu: Allow overriding of bootstrap scripts.
* 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.scm6
1 files changed, 1 insertions, 5 deletions
diff --git a/guix/build/gnu-build-system.scm b/guix/build/gnu-build-system.scm
index f9e6f5013d..9480f08b72 100644
--- a/guix/build/gnu-build-system.scm
+++ b/guix/build/gnu-build-system.scm
@@ -160,11 +160,7 @@ working directory."
(invoke "tar" "xvf" source))
(chdir (first-subdirectory ".")))))
-(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."