Skip to content

Commit

Permalink
gnu: guile2.0-bash: Use G-expressions.
Browse files Browse the repository at this point in the history
* gnu/packages/guile-xyz.scm (guile2.0-bash)[arguments]:
Rewrite as G-expressions.
  • Loading branch information
nckx committed Aug 14, 2022
1 parent f4012ed commit 19d576c
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions gnu/packages/guile-xyz.scm
Original file line number Diff line number Diff line change
Expand Up @@ -428,18 +428,15 @@ dictionary and suggesting spelling corrections.")
(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
Expand Down

0 comments on commit 19d576c

Please sign in to comment.