guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

11/13: gnu: guile2.0-bash: Use G-expressions.


From: guix-commits
Subject: 11/13: gnu: guile2.0-bash: Use G-expressions.
Date: Sat, 20 Aug 2022 20:59:42 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 19d576c645a822a22fc82fb8aef35405628a1b98
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Aug 14 02:00:01 2022 +0200

    gnu: guile2.0-bash: Use G-expressions.
    
    * gnu/packages/guile-xyz.scm (guile2.0-bash)[arguments]:
    Rewrite as G-expressions.
---
 gnu/packages/guile-xyz.scm | 21 +++++++++------------
 1 file changed, 9 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 780c88ba3a..98f2fac5cf 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]