From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id yPsQFzwzm2PEOgEAbAwnHQ (envelope-from ) for ; Thu, 15 Dec 2022 15:46:20 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id IPFGFjwzm2MTWgEAG6o9tA (envelope-from ) for ; Thu, 15 Dec 2022 15:46:20 +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 16D8FE626 for ; Thu, 15 Dec 2022 15:46:19 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p5pUq-0003Vk-Fp; Thu, 15 Dec 2022 09:46:04 -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 1p5pUo-0003Tt-Qi for guix-patches@gnu.org; Thu, 15 Dec 2022 09:46:03 -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 1p5pUo-0008LE-G9 for guix-patches@gnu.org; Thu, 15 Dec 2022 09:46:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p5pUo-0006yz-CG for guix-patches@gnu.org; Thu, 15 Dec 2022 09:46:02 -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:46:02 +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.167111550626817 (code B ref 60068); Thu, 15 Dec 2022 14:46:02 +0000 Received: (at 60068) by debbugs.gnu.org; 15 Dec 2022 14:45:06 +0000 Received: from localhost ([127.0.0.1]:43111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5pTu-0006yO-HL for submit@debbugs.gnu.org; Thu, 15 Dec 2022 09:45:06 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48258) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5pTs-0006xd-BU; Thu, 15 Dec 2022 09:45:04 -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 1p5pTn-0007Y5-48; Thu, 15 Dec 2022 09:44:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=mhraeYUF9QDM1RX4k5O9WuDSc8dzqcHl3TqeuXxXV+8=; b=izACIWKvsEx9r/w2Jr6N adTxcb7dUWItbZWf9xYpWA3UMGoUAXuUVHwuOVGEAohGwnqh+favwwNIiQSPAd5aEezt9cDUvc91H i8NNhVCRy841uRX+hoewomZaRQWI1lYRgXNFd4WBBi5eMq4Nkt59Q8TYyUj/QDxajzEq5+RlDA+1q OY5tHa6DtjJ5vNlTKL6e8sYIjyxcwbSE+FltmvQXT2JpnZmcJpBORJz1kkabBpsIbmUGC3Fs8Brpy XbmtUI+aEE25tdZLNEfkCWAa1onCbWPBKdZqlE6eEeVen7qv0feGZ0Fj9IUOYZvks+UGU3FG9+bh7 huQdEvYByxcXEA==; 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 1p5pTl-0003Rd-T8; Thu, 15 Dec 2022 09:44:58 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <20221214204640.16879-2-maxim.cournoyer@gmail.com> (Maxim Cournoyer's message of "Wed, 14 Dec 2022 15:46:39 -0500") References: <20221214204640.16879-1-maxim.cournoyer@gmail.com> <20221214204640.16879-2-maxim.cournoyer@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Date: Thu, 15 Dec 2022 15:44:54 +0100 Message-ID: <87v8mcoheh.fsf_-_@gnu.org> 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=1671115580; 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=nq3ipENK5L/cJ1o6tsVZ0RvySaCNsYLcLvf9XnHThhw1ICL850IwmnGxS+ZHZlXqS2VSvn QuqhNqBHhsRQKf+mYodAQOsOQj5rZz3JBl3QXjw2AUuzvlyYsyoALw+3IekF9ZMfke9UY+ DL2ybNNpHy2gzDbSgOW9C5cbCIQTSOYd5UJxG7x1LfKsZZoPjJiWNIUwtMNqYPyQ2hHx3x pbKUKF5A4lO/ZDLQfYSCWjejKmAKMMpaMc7ygK6uEi/mmD6tOfFvK7fIS8LayFNspJ6Rxq 13bz9mOiwCBtf4QN36nDAv5so+zyDiMmR9JAAh6s/2xoM+FUW1CebzuxjQQjSg== 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=izACIWKv; 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=1671115580; a=rsa-sha256; cv=none; b=akCZ0b0puNsVBw3OJ+l5wVkB2UGb0u6F1SCEuyf45EcvqvqPmK0S8iHLhfaYYJmDtmdWen /exbRJaM/o9pgN+jF60+/WVLIkt1RHT19rDf2R/m23sujsTLlq1k9ntp3XB9bEPM3nS+8H xCv5xnKdApPvLM0tVpzHXNEc66NkdkXFeT5NokOAM0Dnf+P2B6QbIaS2ob68Huzb+tlz6E jY0dNANCRpL0pIidWojrHuQuwp0mCsQcXeFzGv3mq5KIdJBbPAw6U4HngC7GnWH3C1upYP ByQ9oNYA7EkMw4uUJApKGluXQqtecMJ4Wn8S4PbZje9T1Yhfme6FE4pGGFdSBw== X-Spam-Score: -0.88 X-Migadu-Queue-Id: 16D8FE626 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=izACIWKv; 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: x07QSVCG1TBR 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.