gnu: bash-minimal: Simplify 'arguments' field.
* gnu/packages/bash.scm (bash-minimal)[arguments]: Remove 'let' and use 'substitute-keyword-arguments' directly.
This commit is contained in:
parent
704243e0c6
commit
4cc80c946b
|
@ -211,13 +211,13 @@ without modification.")
|
|||
(outputs (delete "include" (package-outputs bash)))
|
||||
|
||||
(arguments
|
||||
(let ((args `(,@(package-arguments bash)
|
||||
#:modules ((guix build gnu-build-system)
|
||||
(substitute-keyword-arguments (package-arguments bash)
|
||||
((#:modules _ '())
|
||||
'((guix build gnu-build-system)
|
||||
(guix build utils)
|
||||
(srfi srfi-1)
|
||||
(srfi srfi-26)))))
|
||||
(substitute-keyword-arguments args
|
||||
((#:configure-flags flags)
|
||||
(srfi srfi-26)))
|
||||
((#:configure-flags flags '())
|
||||
`(list "--without-bash-malloc"
|
||||
"--disable-readline"
|
||||
"--disable-history"
|
||||
|
@ -237,7 +237,7 @@ without modification.")
|
|||
((#:phases phases)
|
||||
`(modify-phases ,phases
|
||||
;; No loadable modules.
|
||||
(delete 'move-development-files))))))))
|
||||
(delete 'move-development-files)))))))
|
||||
|
||||
(define-public static-bash
|
||||
;; Statically-linked Bash that contains nothing but the 'bash' binary and
|
||||
|
|
Loading…
Reference in New Issue