From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id EC/PAOxlaF9bSwAA0tVLHw (envelope-from ) for ; Mon, 21 Sep 2020 08:35:56 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 0K8LOOtlaF8pAwAAbx9fmQ (envelope-from ) for ; Mon, 21 Sep 2020 08:35:55 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 967EF9402B0 for ; Mon, 21 Sep 2020 08:35:55 +0000 (UTC) Received: from localhost ([::1]:54944 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kKHIg-0007Pr-JA for larch@yhetil.org; Mon, 21 Sep 2020 04:35:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54398) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kKHHR-0006b2-2V for guix-devel@gnu.org; Mon, 21 Sep 2020 04:34:37 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:44518) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kKHHP-0002sZ-0j for guix-devel@gnu.org; Mon, 21 Sep 2020 04:34:36 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id A7ED5C65; Mon, 21 Sep 2020 10:34:29 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4ENPEO_7m3ww; Mon, 21 Sep 2020 10:34:29 +0200 (CEST) Received: from jurong (unknown [IPv6:2001:910:103f::727]) by hera.aquilenet.fr (Postfix) with ESMTPSA id C4E1F8E1; Mon, 21 Sep 2020 10:34:28 +0200 (CEST) Date: Mon, 21 Sep 2020 10:33:52 +0200 From: Andreas Enge To: Buttery Pancake Subject: Re: Guix Paths Message-ID: <20200921083352.GA2668@jurong> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Received-SPF: neutral client-ip=185.233.100.1; envelope-from=andreas@enge.fr; helo=hera.aquilenet.fr X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/21 04:34:30 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -1 X-Spam_score: -0.2 X-Spam_bar: / X-Spam_report: (-0.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_MSPIKE_BL=0.01, RCVD_IN_MSPIKE_L3=0.9, SPF_HELO_PASS=-0.001, SPF_NEUTRAL=0.779 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "guix-devel@gnu.org" Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: -0.51 X-TUID: 6nzk9jt0zFBY Hello, On Mon, Sep 21, 2020 at 01:32:52AM +0000, Buttery Pancake wrote: > I am wondering why Guix chose `/var/guix` path instead of `/gnu/var/guix` or `/ > guix/var/guix`, as Nix uses `/nix/var/nix`? > I do think that having only one or two directories under root, `/gnu` and/or `/ > guix` is better, instead of having Guix related files under multiple > directories (/var, /run etc.). It will be neat, clean and unique. I agree especially with the problem that the store database is usually saved under /var/guix/db - it would be much nicer if the store could be copied over from one machine to another simply by copying one directory. But that could also be solved by moving just the database to /gnu/store/db, I suppose. In a similar vein, it is annoying to have to use "--localstatedir=/var" when configuring. The default configuration should simply be, well, the default... And then it might as well be /gnu, too. Andreas