From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Transition to /gnu/store Date: Tue, 04 Mar 2014 18:07:28 +0100 Message-ID: <87fvmxrj21.fsf_-_@gnu.org> References: <87eh2myiqy.fsf@gnu.org> <87y50qlzmx.fsf@yeeloong.lan> 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]:34282) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WKsoZ-0005Gp-5T for guix-devel@gnu.org; Tue, 04 Mar 2014 12:07:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WKsoU-0002ka-Mr for guix-devel@gnu.org; Tue, 04 Mar 2014 12:07:35 -0500 Received: from hera.aquilenet.fr ([2a01:474::1]:43476) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WKsoU-0002kH-FQ for guix-devel@gnu.org; Tue, 04 Mar 2014 12:07:30 -0500 In-Reply-To: <87y50qlzmx.fsf@yeeloong.lan> (Mark H. Weaver's message of "Tue, 04 Mar 2014 11:03:34 -0500") 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: Mark H Weaver Cc: guix-devel@gnu.org Mark H Weaver skribis: > Can you give some advice on how best to transition from /nix/store to > /gnu/store on an existing Guix system? Can $PREFIX/var/nix and the > sqlite database be shared, or do I have to start with a clean slate? > Any other suggestions? Sorry, I was planning to mention that eventually. (I have not yet changed the default store directory that ./configure chooses, but will do so in the near future.) You don=E2=80=99t have to migrate to /gnu/store now. You can keep using /nix/store on your machine. The only possible downside is that hydra.gnu.org will no longer provide binaries for /nix/store, so everything will have to be built locally. Also, if you re-configure Guix, you=E2=80=99ll have to make sure to pass --with-store-dir=3D/nix/store when the default has changed to /gnu/store. Since moving to /gnu/store involves a full re-build or re-download, I recommend doing that once we=E2=80=99ve merged core-updates (hopefully with= in a couple of weeks.) I would also like to change the database directory to $PREFIX/var/guix. This change is more intrusive: if you want to keep using the store database that=E2=80=99s under $PREFIX/var/nix, you=E2=80=99ll have to manua= lly change the value in Makefile.am. HTH, Ludo=E2=80=99.