unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: 20217@debbugs.gnu.org
Subject: bug#20217: Allow users to use the daemon's default settings
Date: Wed, 28 Oct 2015 15:36:35 +0100	[thread overview]
Message-ID: <874mhb9i18.fsf@gnu.org> (raw)
In-Reply-To: <87619l6vfg.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sat, 28 Mar 2015 15:36:19 +0100")

ludo@gnu.org (Ludovic Courtès) skribis:

> Mark H Weaver <mhw@netris.org> skribis:
>
>> Ludovic Courtès <ludo@gnu.org> writes:
>>
>>> commit 4d58122071bbd7bb56c9658a9bbe7621bf3e423d
>>> Author: Ludovic Courtès <ludo@gnu.org>
>>> Date:   Sun Mar 22 23:43:25 2015 +0100
>>>
>>>     store: Default to a non-empty list of substituters.
>>>     
>>>     Fixes <http://bugs.gnu.org/20163>.
>>>     Reported by Mark H Weaver <mhw@netris.org>.
>>>     
>>>     * guix/store.scm (%default-substitute-urls): New variable.
>>>       (set-build-options): Change default value of #:substitute-urls to
>>>       %DEFAULT-SUBSTITUTE-URLS.
>
> [...]
>
>> Does this mean that even if I've configured my daemon to use a different
>> set of substitute-urls, when I run 'guix' as root those settings will be
>> overridden?
>
> Yes.

This particular issue of substitute URLs is fixed in fb4bf72.

The more general problem remains though: for all the other options, like
max-build-jobs, timeout, etc., the client settings take precedence over
the daemon settings because the ‘set-build-options’ RPC doesn’t provide
a way to say “use default value.”

The fix for that will be either: (1) a ‘set-build-options2’ RPC that has
a way to leave some settings unchanged, or (2) a ‘get-build-options’ RPC.

Option (1) is simpler and more efficient, but option (2) could be
interesting.

Ludo’.

  reply	other threads:[~2015-10-28 14:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-28 14:36 bug#20217: Allow users to use the daemon's default settings Ludovic Courtès
2015-10-28 14:36 ` Ludovic Courtès [this message]
2017-01-15 14:57   ` 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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=874mhb9i18.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=20217@debbugs.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).