From patchwork Tue May 12 20:04:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brice Waegeneire X-Patchwork-Id: 22035 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 1950D27BBE3; Tue, 12 May 2020 21:06:08 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2 autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id A348427BBE1 for ; Tue, 12 May 2020 21:06:07 +0100 (BST) Received: from localhost ([::1]:39576 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jYbAF-0005Tb-66 for patchwork@mira.cbaines.net; Tue, 12 May 2020 16:06:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51384) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYbAA-0005TI-H0 for guix-patches@gnu.org; Tue, 12 May 2020 16:06:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45010) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jYbAA-0001PW-6g for guix-patches@gnu.org; Tue, 12 May 2020 16:06:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jYbAA-00067H-2B for guix-patches@gnu.org; Tue, 12 May 2020 16:06:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41216] [PATCH] doc: Mention guix-daemon's 'https_proxy' environment variable. Resent-From: Brice Waegeneire Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 12 May 2020 20:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41216 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 41216@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158931390423408 (code B ref -1); Tue, 12 May 2020 20:06:01 +0000 Received: (at submit) by debbugs.gnu.org; 12 May 2020 20:05:04 +0000 Received: from localhost ([127.0.0.1]:56545 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jYb9E-00065T-HF for submit@debbugs.gnu.org; Tue, 12 May 2020 16:05:04 -0400 Received: from lists.gnu.org ([209.51.188.17]:44824) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jYb9C-00065J-VK for submit@debbugs.gnu.org; Tue, 12 May 2020 16:05:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51330) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYb9C-0005IC-Qf for guix-patches@gnu.org; Tue, 12 May 2020 16:05:02 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:58901) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYb9B-00014M-C5 for guix-patches@gnu.org; Tue, 12 May 2020 16:05:02 -0400 X-Originating-IP: 78.237.113.178 Received: from localhost (luy13-1-78-237-113-178.fbx.proxad.net [78.237.113.178]) (Authenticated sender: brice@waegenei.re) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 420F91C0007 for ; Tue, 12 May 2020 20:04:55 +0000 (UTC) From: Brice Waegeneire Date: Tue, 12 May 2020 22:04:39 +0200 Message-Id: <20200512200439.16367-1-brice@waegenei.re> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Received-SPF: pass client-ip=217.70.183.197; envelope-from=brice@waegenei.re; helo=relay5-d.mail.gandi.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/12 16:04:56 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * doc/guix.texi (Proxy Settings, Derivations): Mention 'https_proxy'. --- doc/guix.texi | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index 420c2c9eae..09d5a1dc52 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -1012,9 +1012,11 @@ environments, which avoids discrepancies in cases where build processes capture the name of their build tree. @vindex http_proxy -The daemon also honors the @env{http_proxy} environment variable for -HTTP downloads it performs, be it for fixed-output derivations -(@pxref{Derivations}) or for substitutes (@pxref{Substitutes}). +@vindex https_proxy +The daemon also honors the @env{http_proxy} and @env{https_proxy} +environment variables for HTTP and HTTPS downloads it performs, be it +for fixed-output derivations (@pxref{Derivations}) or for substitutes +(@pxref{Substitutes}). If you are installing Guix as an unprivileged user, it is still possible to run @command{guix-daemon} provided you pass @option{--disable-chroot}. @@ -3376,13 +3378,13 @@ authenticating bindings between domain names and public keys.) @subsection Proxy Settings @vindex http_proxy -Substitutes are downloaded over HTTP or HTTPS. -The @env{http_proxy} environment -variable can be set in the environment of @command{guix-daemon} and is -honored for downloads of substitutes. Note that the value of -@env{http_proxy} in the environment where @command{guix build}, -@command{guix package}, and other client commands are run has -@emph{absolutely no effect}. +@vindex https_proxy +Substitutes are downloaded over HTTP or HTTPS. The @env{http_proxy} and +@env{https_proxy} environment variables can be set in the environment of +@command{guix-daemon} and is honored for downloads of substitutes. Note +that the value of those environment variables in the environment where +@command{guix build}, @command{guix package}, and other client commands +are run has @emph{absolutely no effect}. @node Substitution Failure @subsection Substitution Failure