all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Vincent Legoll <vincent.legoll@gmail.com>
To: guix-devel <guix-devel@gnu.org>
Subject: Proxy settings wrt guix daemon
Date: Sat, 28 Mar 2020 11:04:19 +0100	[thread overview]
Message-ID: <CAEwRq=p-DQgHcmPRb9mYXTJ-WXy7NQVJStuKE_=7jGrgauqMNw@mail.gmail.com> (raw)

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://<IP>:<PORT>"))))

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

             reply	other threads:[~2020-03-28 10:04 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-28 10:04 Vincent Legoll [this message]
2020-03-29 15:00 ` Proxy settings wrt guix daemon Ludovic Courtès
2020-03-30 12:07   ` Vincent Legoll
2020-03-31 15:26     ` Ludovic Courtès
2020-04-03 22:29       ` Vincent Legoll
2020-04-04 15:31         ` Mathieu Othacehe
2020-04-06  8:57           ` Ludovic Courtès
2020-04-06  9:13             ` Vincent Legoll
2020-04-07  9:38               ` Ludovic Courtès
2020-04-07 10:07                 ` Vincent Legoll
2020-04-07 10:39             ` Ludovic Courtès
2020-04-07 16:47               ` Mathieu Othacehe
2020-04-07 16:54                 ` Mathieu Othacehe
2020-04-07 20:12                   ` Ludovic Courtès
2020-04-07 20:10                 ` Ludovic Courtès
2020-04-07 20:14                 ` Ludovic Courtès
2020-04-08  8:27                   ` Mathieu Othacehe
2020-04-08 10:44                     ` Ludovic Courtès
2020-04-10 13:26                     ` Danny Milosavljevic
2020-04-10 14:40                       ` Ludovic Courtès
2020-04-10 14:42                       ` Vincent Legoll
2020-04-10 18:47                       ` Danny Milosavljevic
2020-04-10 22:44                         ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAEwRq=p-DQgHcmPRb9mYXTJ-WXy7NQVJStuKE_=7jGrgauqMNw@mail.gmail.com' \
    --to=vincent.legoll@gmail.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.