mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 14:28:15 -05:00
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:
parent
f4012ed237
commit
19d576c645
1 changed files with 9 additions and 12 deletions
|
@ -428,18 +428,15 @@ (define-public guile2.0-bash
|
|||
(file-name (string-append name "-" version "-checkout"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#:configure-flags
|
||||
;; Add -I to match 'bash.pc' of Bash 4.4.
|
||||
(list (string-append "CPPFLAGS=-I"
|
||||
(assoc-ref %build-inputs "bash:include")
|
||||
"/include/bash/include")
|
||||
|
||||
;; The '.a' file is useless.
|
||||
"--disable-static"
|
||||
|
||||
;; Install 'lib/bash' as Bash 4.4 expects.
|
||||
(string-append "--libdir=" (assoc-ref %outputs "out")
|
||||
"/lib/bash"))))
|
||||
(list
|
||||
#:configure-flags
|
||||
#~(list (string-append "CPPFLAGS=-I" ; match bash.pc
|
||||
(assoc-ref %build-inputs "bash:include")
|
||||
"/include/bash/include")
|
||||
;; The '.a' file is useless.
|
||||
"--disable-static"
|
||||
;; Install 'lib/bash' as Bash 4.4 expects.
|
||||
(string-append "--libdir=" #$output "/lib/bash"))))
|
||||
(native-inputs
|
||||
(list autoconf
|
||||
automake
|
||||
|
|
Loading…
Reference in a new issue