guix-commits
[Top][All Lists]
Advanced

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

06/13: gnu: recutils: Remove some input labels.


From: guix-commits
Subject: 06/13: gnu: recutils: Remove some input labels.
Date: Wed, 11 May 2022 18:31:48 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit b4c9a3d23b06d9441e96938b45fbf6669685955d
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun May 8 02:00:01 2022 +0200

    gnu: recutils: Remove some input labels.
    
    * gnu/packages/databases.scm (recutils)[inputs]:
    Remove input labels.
    [arguments]: Adjust accordingly.
---
 gnu/packages/databases.scm | 33 +++++++++++++++++----------------
 1 file changed, 17 insertions(+), 16 deletions(-)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index b7cbfa6536..91d2e28eb8 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -1568,22 +1568,23 @@ organized in a hash table or B+ tree.")
                (base32
                 "03kf91f20brn2ffljfjzirxh5xj99m1mvvspcx2lph9000mmj0b3"))))
     (build-system gnu-build-system)
-
-    (arguments '(#:configure-flags
-                 (list "--disable-static"
-                       (string-append "--with-bash-headers="
-                                      (assoc-ref %build-inputs "bash:include")
-                                      "/include/bash"))))
-
-    (native-inputs `(("bc" ,bc)
-                     ("bash:include" ,bash "include")
-                     ("check" ,check-0.14)
-                     ("pkg-config" ,pkg-config)))
-
-    ;; TODO: Add more optional inputs.
-    (inputs `(("curl" ,curl)
-              ("libgcrypt" ,libgcrypt)
-              ("libuuid" ,util-linux "lib")))
+    (arguments
+     (list #:configure-flags
+           '(list "--disable-static"
+                  (string-append "--with-bash-headers="
+                                 (search-input-directory %build-inputs
+                                                         "include/bash")))))
+    (native-inputs
+     ;; XXX Without labels, the default 'configure phase picks the wrong 
"bash".
+     `(("bc" ,bc)
+       ("bash:include" ,bash "include")
+       ("check" ,check-0.14)
+       ("pkg-config" ,pkg-config)))
+    (inputs
+     ;; TODO: Add more optional inputs.
+     (list curl
+           libgcrypt
+           `(,util-linux "lib")))
     (synopsis "Manipulate plain text files as databases")
     (description
      "GNU Recutils is a set of tools and libraries for creating and



reply via email to

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