From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id WA1xM9Aym2PyOgEAbAwnHQ (envelope-from ) for ; Thu, 15 Dec 2022 15:44:32 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id gKlIM9Aym2NBSgAAauVa8A (envelope-from ) for ; Thu, 15 Dec 2022 15:44:32 +0100 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 9789213834 for ; Thu, 15 Dec 2022 15:44:32 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p5pSw-0002yH-GZ; Thu, 15 Dec 2022 09:44:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p5pSs-0002xR-64 for guix-patches@gnu.org; Thu, 15 Dec 2022 09:44:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p5pSr-0007LG-UT for guix-patches@gnu.org; Thu, 15 Dec 2022 09:44:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p5pSr-0006x5-Ko for guix-patches@gnu.org; Thu, 15 Dec 2022 09:44:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60068] bug#60069: [PATCH 2/2] guix-install.sh: Directly exit in case of errors in chk_require. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 15 Dec 2022 14:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60068 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxim Cournoyer Cc: me@tobias.gr, 60069@debbugs.gnu.org, 60068@debbugs.gnu.org Received: via spool by 60068-submit@debbugs.gnu.org id=B60068.167111542026704 (code B ref 60068); Thu, 15 Dec 2022 14:44:01 +0000 Received: (at 60068) by debbugs.gnu.org; 15 Dec 2022 14:43:40 +0000 Received: from localhost ([127.0.0.1]:43102 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5pSV-0006wZ-Po for submit@debbugs.gnu.org; Thu, 15 Dec 2022 09:43:40 -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: Ludovic =?UTF-8?Q?Court=C3=A8s?= 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1671115472; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=mhraeYUF9QDM1RX4k5O9WuDSc8dzqcHl3TqeuXxXV+8=; b=VnFPle+6ylLM6pXou/hkbSBCGKwFfSVp+LzjhV6ve/wXOc92mTBLIt1z8UlY7aBf20wQoo JCz8phcLFjRf8aMM1r1td/p6pDS25OX7I/g1J9eAOhoMH1vl19X4xYpUm7yJJ+hpohpM0H huztBjDnwuLfQUj5kX+JBu2YolaB2isWFVvkjl978mQ7cysmsykFvhaFcamYAmjR9RaYS7 J76nnHbnNjB23YsZCJG0CO6C+ninN05LYaN7NQ41mvSzEK73R73JTjybGXvBgcSMbjOMWr jLN/UHlA1PFeWClcCp08J/OyrxzGTbSyWqxWnNMpqjugUGUhbwMtTeEWlJPyAw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=Vg2bEpPb; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1671115472; a=rsa-sha256; cv=none; b=l13Q1b+IQ0UmS12w3ilm7HtF4gxqmUUg32vp68nkFiFf7NgAZSjCehJPmrnEFvmL5CGb3A m8UhZnlQIzKrmFb2WFi5bw89QFIc0V2FLjDW47klKjO+dYh3Drb+n/R7xrAgiCxdmU+JLx e+us2AEn8/5rEZSpxoJx1KqDxe5PrYP5LxZiXrzFtkEwoQ5cH5YLJn+MRDNBC7liK+oZ7G by1GVm6vYmi6/3V7R1OnhOFvIUZZeVCcXuovHyMvtAopStJa8h4iXQMBvuwWKTiWKwenYx tm8Z1jcOQ6HiSiWQ+OHJVUPgjFUxAD3MynH/rKNbZw9r7HuyJk0YynrQkufG/w== X-Spam-Score: -0.88 X-Migadu-Queue-Id: 9789213834 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=Vg2bEpPb; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -0.88 X-TUID: MnGAZNh1VDx9 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.