diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-01-06 22:56:01 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-01-06 23:08:22 +0100 |
commit | d4aaf954011646413e7c2ca39a34030821e84910 (patch) | |
tree | d2727bc89a90a44ecbb611f7a98074ff05fefc18 /guix/build-system | |
parent | 6071122b713e8a87158cdd4e913851fab283ead3 (diff) | |
download | gnu-guix-d4aaf954011646413e7c2ca39a34030821e84910.tar gnu-guix-d4aaf954011646413e7c2ca39a34030821e84910.tar.gz |
build-system/gnu: Make 'package-with-explicit-inputs' idempotent.
* guix/build-system/gnu.scm (package-with-explicit-inputs): Use
'ensure-keyword-arguments' instead of appending to ARGS.
* gnu/packages/commencement.scm (static-bash-for-glibc): Add missing
#:guile argument.
Diffstat (limited to 'guix/build-system')
-rw-r--r-- | guix/build-system/gnu.scm | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/guix/build-system/gnu.scm b/guix/build-system/gnu.scm index c83c50b76e..9c53825c4a 100644 --- a/guix/build-system/gnu.scm +++ b/guix/build-system/gnu.scm @@ -96,10 +96,11 @@ builder, or the distro's final Guile when GUILE is #f." (package (inherit p) (location (if (pair? loc) (source-properties->location loc) loc)) (arguments - (let ((args (package-arguments p))) - `(#:guile ,guile - #:implicit-inputs? #f - ,@args))) + ;; 'ensure-keyword-arguments' guarantees that this procedure is + ;; idempotent. + (ensure-keyword-arguments (package-arguments p) + `(#:guile ,guile + #:implicit-inputs? #f))) (replacement (let ((replacement (package-replacement p))) (and replacement |