From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 15 09:43:39 2022 Received: (at 60069) by debbugs.gnu.org; 15 Dec 2022 14:43:39 +0000 Received: from localhost ([127.0.0.1]:43100 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5pSV-0006wX-EW for submit@debbugs.gnu.org; Thu, 15 Dec 2022 09:43:39 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46966) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5pST-0006wO-Ry; Thu, 15 Dec 2022 09:43:38 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p5pSO-0007H4-Ke; Thu, 15 Dec 2022 09:43:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=mhraeYUF9QDM1RX4k5O9WuDSc8dzqcHl3TqeuXxXV+8=; b=Vg2bEpPbW73FZUuaja+m KVhI+a1sxFvB8h7QMybfUOGFP+xXAxMEvBlyvi5Hqsb2Kt2PArjdXzLljL4+srDkXf5SpRSkl9MS0 W4n+QYo3PyM2uGqw1flCYQhd9/jtTVunDvbt1qqoHp/9V5nYSQnNxrjjGvZgOEksKGqUjQtmOyE8z bIKwZoT05+v7k3XVvrWggpUN7c3deACbKpvga+k7DJ3nYK5RHSwfqPjJDO0TQX6cBD7iBNJzc3bLE cS8K44erDo9mKQDdZNpyPulJ14j2mfiRb1B5O26vpBDdlx7mw3VnLDommZ4wT2TsWm/VAIfo5N+FP 2h8et5J+hvP99A==; Received: from [89.207.171.79] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p5pSB-0003JN-9s; Thu, 15 Dec 2022 09:43:32 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Maxim Cournoyer Subject: Re: bug#60069: [PATCH 2/2] guix-install.sh: Directly exit in case of errors in chk_require. References: <20221214204640.16879-1-maxim.cournoyer@gmail.com> <20221214204640.16879-2-maxim.cournoyer@gmail.com> Date: Thu, 15 Dec 2022 15:43:16 +0100 In-Reply-To: <20221214204640.16879-2-maxim.cournoyer@gmail.com> (Maxim Cournoyer's message of "Wed, 14 Dec 2022 15:46:39 -0500") Message-ID: <87wn6sohh7.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 60069 Cc: me@tobias.gr, 60069@debbugs.gnu.org, 60068@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Maxim Cournoyer skribis: > The need for this use case appeared when attempting to install Guix on a = truly > minimal image made with Buildroot, which lacked enough GNU components tha= t I > had to extract a guix pack to /gnu before attempting installation, which = would > then refuse to proceed because of the existing /gnu. > > * etc/guix-install.sh: Document environment variables. > (sys_create_store) [GUIX_ALLOW_OVERWRITE]: Skip pre-existing installation > checks and output a warning. Extract the tarball directly to /. Like Tobias, I=E2=80=99m reluctant to adding environment variables; I=E2=80= =99m also skeptical about the use case (I think it=E2=80=99s fine to let users remove their previous installation if that=E2=80=99s what they want). I also think we=E2=80=99d rather minimize changes to the script since we=E2= =80=99re a couple of days before the release. Thanks, Ludo=E2=80=99.