Hi,

Ludovic Courtès <[email protected]> writes:

>>      (native-inputs `(("bc" ,bc)
>>                       ("bash:include" ,bash "include")
>>                       ("check" ,check)
>> -                     ("libuuid" ,util-linux)
>> +                     ("libuuid:out" ,util-linux)
>
> Is this one even necessary?  (The label is misleading.)
>
>>                       ("pkg-config" ,pkg-config)))
>>
>>      ;; TODO: Add more optional inputs.
>>      (inputs `(("curl" ,curl)
>> -              ("libgcrypt" ,libgcrypt)))
>> +              ("libgcrypt" ,libgcrypt)
>> +              ("libuuid:lib" ,util-linux "lib")))
>
> Thanks,
> Ludo’.

It seems to build OK without the native-input, so I removed it.

Thanks,

John

>From c7eee6d96ea4ce6516f6a528e3d2110f96fb44ec Mon Sep 17 00:00:00 2001
From: John Soo <[email protected]>
Date: Sat, 14 Nov 2020 12:42:10 -0800
Subject: [PATCH] gnu: Add uuid support to recutils.

* gnu/packages/databases.scm (recutils): [inputs] Add lib output of
util-linux.
---
 gnu/packages/databases.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index c3fb9b5c5f..a36a43e188 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -1144,12 +1144,12 @@ organized in a hash table or B+ tree.")
     (native-inputs `(("bc" ,bc)
                      ("bash:include" ,bash "include")
                      ("check" ,check)
-                     ("libuuid" ,util-linux)
                      ("pkg-config" ,pkg-config)))
 
     ;; TODO: Add more optional inputs.
     (inputs `(("curl" ,curl)
-              ("libgcrypt" ,libgcrypt)))
+              ("libgcrypt" ,libgcrypt)
+              ("libuuid" ,util-linux "lib")))
     (synopsis "Manipulate plain text files as databases")
     (description
      "GNU Recutils is a set of tools and libraries for creating and
-- 
2.29.1

Reply via email to