From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: Re: Proxy settings wrt guix daemon Date: Tue, 31 Mar 2020 17:26:15 +0200 Message-ID: <87eet8v948.fsf@gnu.org> References: <87blofyzn0.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:33494) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJImT-0007nF-1t for guix-devel@gnu.org; Tue, 31 Mar 2020 11:26:22 -0400 In-Reply-To: (Vincent Legoll's message of "Mon, 30 Mar 2020 14:07:36 +0200") 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: Vincent Legoll Cc: guix-devel Hi, Vincent Legoll skribis: > On Sun, Mar 29, 2020 at 5:00 PM Ludovic Court=C3=A8s wrote: >> So my recommendation would be to fix [4] specifically for =E2=80=98guix-= daemon=E2=80=99 >> by adding a =E2=80=98set-proxy=E2=80=99 action or something. > > Trying to understand what that would imply, I stumbled upon my > ignorance of how to test attempts at implementing that. > > Would the following be useful : > make + pre-inst guix system container in a git checkout / branch > with modifications to nix/libstore/builtins.cc::builtinDownload (for > the server part) > > Then how to implement the "asking the server to change its > proxy setting" ? Where should I look ? > > What UI (client-side) ? > > `guix daemon set-proxy` or something like that ? > > I.e. I'm willing to try, but will need guidance... I was proposing a custom action for the Shepherd service, just like the mcron Shepherd service has a custom =E2=80=98schedule=E2=80=99 action that = one can invoke with =E2=80=9Cherd schedule mcron=E2=80=9D. Hope that=E2=80=99s clearer! Ludo=E2=80=99.