From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#20217: Allow users to use the daemon's default settings Date: Sun, 15 Jan 2017 15:57:13 +0100 Message-ID: <871sw4jrqu.fsf@gnu.org> References: <87619l6vfg.fsf@gnu.org> <874mhb9i18.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:4830:134:3::10]:48046) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cSmFz-0008CG-Ve for bug-guix@gnu.org; Sun, 15 Jan 2017 09:58:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cSmFv-0001n2-An for bug-guix@gnu.org; Sun, 15 Jan 2017 09:58:08 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:39563) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cSmFv-0001mn-7e for bug-guix@gnu.org; Sun, 15 Jan 2017 09:58:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cSmFu-0001Tr-Lp for bug-guix@gnu.org; Sun, 15 Jan 2017 09:58:02 -0500 Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Message-ID: In-Reply-To: <874mhb9i18.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Wed, 28 Oct 2015 15:36:35 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 20217-done@debbugs.gnu.org ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > >> Mark H Weaver skribis: >> >>> Ludovic Court=C3=A8s writes: >>> >>>> commit 4d58122071bbd7bb56c9658a9bbe7621bf3e423d >>>> Author: Ludovic Court=C3=A8s >>>> Date: Sun Mar 22 23:43:25 2015 +0100 >>>> >>>> store: Default to a non-empty list of substituters. >>>>=20=20=20=20=20 >>>> Fixes . >>>> Reported by Mark H Weaver . >>>>=20=20=20=20=20 >>>> * 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 =E2=80=98set-build-options=E2=80=99 RPC d= oesn=E2=80=99t provide > a way to say =E2=80=9Cuse default value.=E2=80=9D Fixed in commit deac976d3d26c7b85b9c90efb424b0aa94f1027c (at last!) by moving max-build-jobs, build-cores, and max-silent-time to the optional key/value option list at the end of =E2=80=98set-build-options=E2=80=99. Ludo=E2=80=99.