From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Overrding the localstatedir Date: Fri, 03 Jan 2014 17:15:01 +0100 Message-ID: <87k3ehm48q.fsf@gnu.org> References: <20140101131947.GA17931@jocasta.intra> <8761q1nl6a.fsf@gnu.org> <20140103154324.GA5220@jocasta.intra> 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]:40319) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vz7Ov-000157-6f for guix-devel@gnu.org; Fri, 03 Jan 2014 11:15:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vz7Op-00010M-QL for guix-devel@gnu.org; Fri, 03 Jan 2014 11:15:09 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:20372) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vz7Op-0000xZ-J6 for guix-devel@gnu.org; Fri, 03 Jan 2014 11:15:03 -0500 In-Reply-To: <20140103154324.GA5220@jocasta.intra> (John Darrington's message of "Fri, 3 Jan 2014 16:43:24 +0100") 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.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: John Darrington Cc: guix-devel@gnu.org John Darrington skribis: > So so sum up, my suggestions are: > > 1. Either a) remove "--localstatedir=3D/var" from the configure-flags of= the definition of guix in package-management.scm;=20 No, because the setup here is as we (will) use it in the stand-alone GNU system, such as in the VM. > Or b) Set the default localstatedir in configure.ac to /var No, because it=E2=80=99s really a user setting, like the other =E2=80=98con= figure=E2=80=99 settings. > 2. Add a run time flag to guix to override whatever localstatedir was gi= ven at configure time. Actually, clients honor the (undocumented) =E2=80=98GUIX_DAEMON_SOCKET=E2= =80=99 environment variables, so that=E2=80=99s one thing you could use. The daemon still need to have the right $localstatedir, though. Thanks, Ludo=E2=80=99.