Hi, Vincent Legoll <vincent.leg...@gmail.com> skribis:
> On Sun, Mar 29, 2020 at 5:00 PM Ludovic Courtès <l...@gnu.org> wrote: >> So my recommendation would be to fix [4] specifically for ‘guix-daemon’ >> by adding a ‘set-proxy’ 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 ‘schedule’ action that one can invoke with “herd schedule mcron”. Hope that’s clearer! Ludo’.