[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/70: guile-build-system: Add #:implicit-inputs.
From: |
guix-commits |
Subject: |
04/70: guile-build-system: Add #:implicit-inputs. |
Date: |
Wed, 11 Dec 2019 13:03:17 -0500 (EST) |
janneke pushed a commit to branch wip-bootstrap
in repository guix.
commit 8adb4f3be7cf7ac08352de4097c1570647b44098
Author: Jan Nieuwenhuizen <address@hidden>
Date: Mon Dec 2 23:59:57 2019 +0100
guile-build-system: Add #:implicit-inputs.
* guix/build-system/guile.scm (lower): Add implicit-inputs? keyword
parameter.
---
guix/build-system/guile.scm | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/guix/build-system/guile.scm b/guix/build-system/guile.scm
index 2c5cc96..3693014 100644
--- a/guix/build-system/guile.scm
+++ b/guix/build-system/guile.scm
@@ -36,6 +36,7 @@
(define* (lower name
#:key source inputs native-inputs outputs system target
+ (implicit-inputs? #t)
#:allow-other-keys
#:rest arguments)
"Return a bag for NAME."
@@ -45,7 +46,8 @@
;; procedures like 'package-for-guile-2.0' unchanged and simple.
(define private-keywords
- '(#:target #:inputs #:native-inputs))
+ '(#:target #:inputs #:native-inputs
+ #:implicit-inputs?))
(bag
(name name)
@@ -56,8 +58,10 @@
`(("source" ,source))
'())
,@native-inputs
- ,@(map (cute assoc <> (standard-packages))
- '("tar" "gzip" "bzip2" "xz" "locales"))))
+ ,@(if implicit-inputs?
+ (map (cute assoc <> (standard-packages))
+ '("tar" "gzip" "bzip2" "xz" "locales"))
+ '())))
(outputs outputs)
(build (if target guile-cross-build guile-build))
(arguments (strip-keyword-arguments private-keywords arguments))))
- branch wip-bootstrap created (now 2f7b115), guix-commits, 2019/12/11
- 01/70: gnu: mes: Update to 0.21., guix-commits, 2019/12/11
- 04/70: guile-build-system: Add #:implicit-inputs.,
guix-commits <=
- 05/70: bootstrap: mescc-tools-static: Update to 0.6.1., guix-commits, 2019/12/11
- 08/70: bootstrap: bootstrap-mescc-tools: Update to mescc-tools-0.6.1., guix-commits, 2019/12/11
- 07/70: gnu: Remove mescc-tools-0.5.2., guix-commits, 2019/12/11
- 02/70: gnu: Add gash-core-utils., guix-commits, 2019/12/11
- 03/70: bootstrap: Add janneke's guix package url., guix-commits, 2019/12/11
- 09/70: bootstrap: bootstrap-mes: Update to mes-0.21., guix-commits, 2019/12/11
- 10/70: Revert "bootstrap: bootstrap-mes: Update to mes-0.21.", guix-commits, 2019/12/11
- 11/70: Revert "bootstrap: bootstrap-mescc-tools: Update to mescc-tools-0.6.1.", guix-commits, 2019/12/11
- 15/70: bootstrap: Add %bootstrap-guile+guild., guix-commits, 2019/12/11
- 12/70: Revert "gnu: Remove mescc-tools-0.5.2.", guix-commits, 2019/12/11