gnu: guile2.0-bash: Use G-expressions.

* gnu/packages/guile-xyz.scm (guile2.0-bash)[arguments]:
Rewrite as G-expressions.
This commit is contained in:
Tobias Geerinckx-Rice 2022-08-14 02:00:01 +02:00
parent f4012ed237
commit 19d576c645
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -428,18 +428,15 @@ (define-public guile2.0-bash
(file-name (string-append name "-" version "-checkout")))) (file-name (string-append name "-" version "-checkout"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
'(#:configure-flags (list
;; Add -I to match 'bash.pc' of Bash 4.4. #:configure-flags
(list (string-append "CPPFLAGS=-I" #~(list (string-append "CPPFLAGS=-I" ; match bash.pc
(assoc-ref %build-inputs "bash:include") (assoc-ref %build-inputs "bash:include")
"/include/bash/include") "/include/bash/include")
;; The '.a' file is useless.
;; The '.a' file is useless. "--disable-static"
"--disable-static" ;; Install 'lib/bash' as Bash 4.4 expects.
(string-append "--libdir=" #$output "/lib/bash"))))
;; Install 'lib/bash' as Bash 4.4 expects.
(string-append "--libdir=" (assoc-ref %outputs "out")
"/lib/bash"))))
(native-inputs (native-inputs
(list autoconf (list autoconf
automake automake