* [bug#40065] [PATCH] gnu: dehydrated: Declare cURL's native search paths.
@ 2020-03-15 0:25 Tobias Geerinckx-Rice via Guix-patches via
2020-03-24 17:50 ` Ludovic Courtès
0 siblings, 1 reply; 3+ messages in thread
From: Tobias Geerinckx-Rice via Guix-patches via @ 2020-03-15 0:25 UTC (permalink / raw)
To: 40065
* 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 <h.goebel@crazy-compilers.com>
;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2017, 2018, 2019, 2020 Marius Bakke <mbakke@fastmail.com>
-;;; Copyright © 2017, 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2017 Rutger Helling <rhelling@mykolab.com>
;;; Copyright © 2018 Clément Lassieur <clement@lassieur.org>
;;;
@@ -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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [bug#40065] [PATCH] gnu: dehydrated: Declare cURL's native search paths.
2020-03-15 0:25 [bug#40065] [PATCH] gnu: dehydrated: Declare cURL's native search paths Tobias Geerinckx-Rice via Guix-patches via
@ 2020-03-24 17:50 ` Ludovic Courtès
2021-08-03 19:49 ` bug#40065: " Maxim Cournoyer
0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2020-03-24 17:50 UTC (permalink / raw)
To: Tobias Geerinckx-Rice; +Cc: 40065
Tobias Geerinckx-Rice <me@tobias.gr> 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’.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#40065: [PATCH] gnu: dehydrated: Declare cURL's native search paths.
2020-03-24 17:50 ` Ludovic Courtès
@ 2021-08-03 19:49 ` Maxim Cournoyer
0 siblings, 0 replies; 3+ messages in thread
From: Maxim Cournoyer @ 2021-08-03 19:49 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: Tobias Geerinckx-Rice, 40065-done
Hi!
Ludovic Courtès <ludo@gnu.org> writes:
> Tobias Geerinckx-Rice <me@tobias.gr> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-08-03 19:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-15 0:25 [bug#40065] [PATCH] gnu: dehydrated: Declare cURL's native search paths Tobias Geerinckx-Rice via Guix-patches via
2020-03-24 17:50 ` Ludovic Courtès
2021-08-03 19:49 ` bug#40065: " Maxim Cournoyer
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).