From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vincent Legoll Subject: Proxy settings wrt guix daemon Date: Sat, 28 Mar 2020 11:04:19 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:36430) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jI8KR-00048B-0E for guix-devel@gnu.org; Sat, 28 Mar 2020 06:04:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jI8KO-0001gb-Rv for guix-devel@gnu.org; Sat, 28 Mar 2020 06:04:34 -0400 Received: from mail-io1-xd33.google.com ([2607:f8b0:4864:20::d33]:34581) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jI8KO-0001dv-E7 for guix-devel@gnu.org; Sat, 28 Mar 2020 06:04:32 -0400 Received: by mail-io1-xd33.google.com with SMTP id h131so12502372iof.1 for ; Sat, 28 Mar 2020 03:04:31 -0700 (PDT) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane-mx.org@gnu.org Sender: "Guix-devel" To: guix-devel Hello, following the packaging of squid, I have been searching how to configure the guix daemon to use a proxy, and this looks problematic. I found very sparse info in the documentation, at least something explaining that this area is WIP would have helped. [1] I found the following config.scm snippet on the ML [2]: (modify-services %desktop-services (guix-service-type config => (guix-configuration (inherit config) (http-proxy "http://:")))) but as mentionned in [3], this will not fly in the case of an intermittently available proxy, as guix system-reconfigure will depends on this working properly to reset it back to no proxy usage. There is an issue about the problem [4], but it does not looks like it is making progress. Could something be done from shepherd PoV, like easily setting environment vars for specific services, in /etc/... config files ? So that can be easily modified with a simple text editor in case of failure. [1] https://lists.gnu.org/archive/html/help-guix/2017-02/msg00090.html [2] https://lists.gnu.org/archive/html/help-guix/2019-07/msg00031.html [3] https://lists.gnu.org/archive/html/guix-devel/2017-10/msg00206.html [4] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25569 Solving this would be awesome for the imminent release. I'd like to help as much as I can. WDYT ? -- Vincent Legoll