From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:57469) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jDH6S-000210-1x for guix-patches@gnu.org; Sat, 14 Mar 2020 20:26:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jDH6Q-0001j7-SR for guix-patches@gnu.org; Sat, 14 Mar 2020 20:26:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56364) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jDH6Q-0001iC-Oz for guix-patches@gnu.org; Sat, 14 Mar 2020 20:26:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jDH6Q-0004tf-KR for guix-patches@gnu.org; Sat, 14 Mar 2020 20:26:02 -0400 Subject: [bug#40065] [PATCH] gnu: dehydrated: Declare cURL's native search paths. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:57303) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jDH61-0001Wr-MQ for guix-patches@gnu.org; Sat, 14 Mar 2020 20:25:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jDH60-0000bd-37 for guix-patches@gnu.org; Sat, 14 Mar 2020 20:25:37 -0400 Received: from tobias.gr ([2a02:c205:2020:6054::1]:44720) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jDH5z-0000Uf-KH for guix-patches@gnu.org; Sat, 14 Mar 2020 20:25:36 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id e93853d5 for ; Sun, 15 Mar 2020 00:25:32 +0000 (UTC) Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 89a620d2 (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO) for ; Sun, 15 Mar 2020 00:25:31 +0000 (UTC) Date: Sun, 15 Mar 2020 01:25:56 +0100 Message-Id: <20200315002556.12076-1-me@tobias.gr> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" Reply-to: Tobias Geerinckx-Rice , Tobias Geerinckx-Rice via Guix-patches From: Tobias Geerinckx-Rice via Guix-patches via To: 40065@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 ;;; Copyright © 2017 Ricardo Wurmus ;;; Copyright © 2017, 2018, 2019, 2020 Marius Bakke -;;; Copyright © 2017, 2018, 2019 Tobias Geerinckx-Rice +;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice ;;; Copyright © 2017 Rutger Helling ;;; Copyright © 2018 Clément Lassieur ;;; @@ -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