Subject: bug#40065: closed (Re: bug#40065: [PATCH] gnu: dehydrated: Declare cURL's native search paths.)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 03 Aug 2021 19:50:02 +0000

Your bug report

#40065: [PATCH] gnu: dehydrated: Declare cURL's native search paths.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
40065: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=40065
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#40065: [PATCH] gnu: dehydrated: Declare cURL's native search paths.
From: Maxim Cournoyer <[email-masked]>
To: Ludovic Courtès <[email-masked]>
Cc: Tobias Geerinckx-Rice <[email-masked]>, [email-masked]
Date: Tue, 03 Aug 2021 15:49:37 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi!

Ludovic Courtès <[email-masked]> writes:

> Tobias Geerinckx-Rice <[email-masked]> skribis:
>
>> * gnu/packages/tls.scm (dehydrated)[native-search-paths]: Use curl's.
>
> LGTM!
>
>> Posted because I'm not sure what the worst way to handle the recursion
>> is.  Or why it happens.
>
> Recursion is expected here: loading tls.scm would require loading curl’s
> module first, which itself depends on tls.scm.
>
> Ludo’.

Pushed with commit 77e2df870bdd3605925b78642661e252a83b2369.

Closing.

Maxim

Subject: [PATCH] gnu: dehydrated: Declare cURL's native search paths.
From: Tobias Geerinckx-Rice <[email-masked]>
To: [email-masked]
Date: Sun, 15 Mar 2020 01:25:56 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/tls.scm (dehydrated)[native-search-paths]: Use curl's.
---

Posted because I'm not sure what the worst way to handle the recursion
is.  Or why it happens.

Kind regards,

T G-R

 gnu/packages/tls.scm | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index c8eea9c928..1cd6487e4a 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -10,7 +10,7 @@
 ;;; Copyright © 2016 Hartmut Goebel <[email-masked]>
 ;;; Copyright © 2017 Ricardo Wurmus <[email-masked]>
 ;;; Copyright © 2017, 2018, 2019, 2020 Marius Bakke <[email-masked]>
-;;; Copyright © 2017, 2018, 2019 Tobias Geerinckx-Rice <[email-masked]>
+;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <[email-masked]>
 ;;; Copyright © 2017 Rutger Helling <[email-masked]>
 ;;; Copyright © 2018 Clément Lassieur <[email-masked]>
 ;;;
@@ -988,6 +988,13 @@ coding footprint.")
     (native-inputs
      `(("gzip" ,gzip)
        ("tar" ,tar)))
+    (native-search-paths
+     ;; XXX Using (package-native-search-paths curl) here recurses infinitely.
+     (list (search-path-specification
+            (variable "CURL_CA_BUNDLE")
+            (file-type 'regular)
+            (separator #f)
+            (files '("etc/ssl/certs/ca-certificates.crt")))))
     (home-page "https://dehydrated.io/")
     (synopsis "Let's Encrypt/ACME client implemented as a shell script")
     (description "Dehydrated is a client for signing certificates with an
-- 
2.23.0