From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 WF2UJFzh3WOVLAEAbAwnHQ (envelope-from ) for ; Sat, 04 Feb 2023 05:38:52 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 0K+DJFzh3WO4dQEA9RJhRA (envelope-from ) for ; Sat, 04 Feb 2023 05:38:52 +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 70A0AEC8F for ; Sat, 4 Feb 2023 05:38:52 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pOAJS-0008Pc-5l; Fri, 03 Feb 2023 23:38: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 1pOAJP-0008I9-Nq for guix-patches@gnu.org; Fri, 03 Feb 2023 23:38: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 1pOAJP-0000Hu-FA for guix-patches@gnu.org; Fri, 03 Feb 2023 23:38:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pOAJO-0000Sy-H0 for guix-patches@gnu.org; Fri, 03 Feb 2023 23:38:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60068] [PATCH 1/2] guix-install.sh: Add GUIX_ALLOW_OVERWRITE environment variable. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 04 Feb 2023 04:38: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: Tobias Geerinckx-Rice Cc: ludo@gnu.org, 60068@debbugs.gnu.org X-Debbugs-Original-Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 60068@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16754854311727 (code B ref -1); Sat, 04 Feb 2023 04:38:02 +0000 Received: (at submit) by debbugs.gnu.org; 4 Feb 2023 04:37:11 +0000 Received: from localhost ([127.0.0.1]:40357 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOAIY-0000Rm-Ud for submit@debbugs.gnu.org; Fri, 03 Feb 2023 23:37:11 -0500 Received: from lists.gnu.org ([209.51.188.17]:46228) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOAIS-0000RV-VZ for submit@debbugs.gnu.org; Fri, 03 Feb 2023 23:37:09 -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 1pOAIS-0005cq-Pc for guix-patches@gnu.org; Fri, 03 Feb 2023 23:37:04 -0500 Received: from mail-qv1-xf2d.google.com ([2607:f8b0:4864:20::f2d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pOAIR-0008W4-Bj; Fri, 03 Feb 2023 23:37:04 -0500 Received: by mail-qv1-xf2d.google.com with SMTP id z6so174598qvp.11; Fri, 03 Feb 2023 20:37:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=fOarm2JYN2fj7CM1j+KA0Ij+owPkmdr//15spaXPLu0=; b=l1qqAn285HaOHwDLVYnoNk87aihx/PiR+sbBKNo6oxX4QxEgZtVT0ZdxbSAs1DPwOz QsYhddzkNaTb9+clBST3fL+22+iqUQwwJW2M3J2nXeG1gZbQlvHpCpyZaOYatMSUWLn6 2QRVU6Mlj1sthj+ndUEwMf1nhsUpgHtO2qVDva7VwQZteQznFlcXPbIr7RHKZHp6bOyq VX08U7MNidRxm9FbDFo+ektpoHYG3afSj+AR1D25BHuBM8Yg0hPuR9qSLG6oKEuO8604 AxQROE+Auj3Xkg3j8rPH4PYbfsLyVVfIag9eO5U95TV5aiwnDDUa1Kym0KXebkKu7cWn 709Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=fOarm2JYN2fj7CM1j+KA0Ij+owPkmdr//15spaXPLu0=; b=hRVLrs60gMr31K7BzaoXwENfxFoJMylpVeIPSj6TWuHzzhjwQSLT3UHffI7VE9fxKQ QYMm/XhNPFieyLslOXtbJuS0Og34m9ppPcQt35tqvBZRM+CW8bghOTbxavyrtVJegDae KrbX0q46f4MWhTdGURLpp+h62KootuGxTg/+b5ngDGF6+8l/oc0t+vob859XVtzWw8BP ddvkUdiZfmBC8n82k3BKenTxg2xRLF0LXPqgLipmGsvDeZQSjzZ80O4d+tkj6+vlVBKp 6hfhF9REKHCwx2HAGPFNCoN8qb+Pm8lBWLjqnJ2RWCo5h5zCCWMbH87S0J//GSPttVVU zAmg== X-Gm-Message-State: AO0yUKVh96/1+zJChqDI24Bkdy6I5vI4LQ7z4uzQZCo77oLhUuilCVJ9 HHQMXR6Ftzt7nKW2DMkw9ULJqMvCags= X-Google-Smtp-Source: AK7set8pNr3XHSJJSjjKOQX1nHQDGKVz6r2ynLv4aCw4DvW+vOd3UGtsUEpA6PoMKSH7fhiqK/LS+w== X-Received: by 2002:a05:6214:b69:b0:568:d79c:7a70 with SMTP id ey9-20020a0562140b6900b00568d79c7a70mr8574002qvb.1.1675485421113; Fri, 03 Feb 2023 20:37:01 -0800 (PST) Received: from hurd (dsl-10-136-177.b2b2c.ca. [72.10.136.177]) by smtp.gmail.com with ESMTPSA id k64-20020a37ba43000000b007023fc46b64sm3049727qkf.113.2023.02.03.20.37.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Feb 2023 20:37:00 -0800 (PST) From: Maxim Cournoyer References: <20221214155603.29381-1-maxim.cournoyer@gmail.com> <875yeec57z.fsf@nckx> <87zgbp3ksd.fsf@gmail.com> Date: Fri, 03 Feb 2023 23:36:59 -0500 In-Reply-To: <87zgbp3ksd.fsf@gmail.com> (Maxim Cournoyer's message of "Wed, 14 Dec 2022 13:25:06 -0500") Message-ID: <87mt5unj10.fsf@gmail.com> 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 Received-SPF: pass client-ip=2607:f8b0:4864:20::f2d; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qv1-xf2d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1675485532; 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=fOarm2JYN2fj7CM1j+KA0Ij+owPkmdr//15spaXPLu0=; b=d/HveUh34ApP35UWdCa2lkXydNh49SA0qfftSKunXzDJgVYJcCLelkN0VJTkrgPLO5DA+L 3CFdOdTIyjlCDwLKByw8/vxeIBCsy77LQsrA+28BWd6OMiVA6AgdSKDoklwGJNv0Aqy1wg PoDks9MdUHUZ7qEqw6QTzWCwSiJSJuVkTLUKg4lEiPWK+3NpKWxo+3XWWmanpPz4QLDTES QEcCedYrth8tDAPoYMvrYLafe6AFHYvhjnHtw1AKKYhWYN0ytgVnsSi7RHR1Z1N6m7sfzn iiP0T9pZUisv0/0YCgo2lyhSWZJCrwXi1hzGb9UGnVC35kh9lnx+5v99GqFgLA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=l1qqAn28; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1675485532; a=rsa-sha256; cv=none; b=GjOh0Q/2b9YU85pgOWXYzcJCAMEOXLQNS3swHMNzvJUYQpqfsxul8IjNDo9wCsIS2xvnMJ B++s5jXKa9HBjyrIM5LyhceIGzdLvAl8pbAGIqUk6U62jp8L8sYivdSFa3pb3COOJmoHXK W0EXMa6JGrUVInK/5Qj8JgIbTCswDCnbDWeLKOtitY+rPdhWX6OF+92pQR4kAfH1BheLjR y++tfj8fwL84anoz8wuhBFfCz2JWAn6+jvYviXnKrpMYkx+t587ZOJqfnQmyrQ/g6+SW55 uXbdTp4hXmiUl57txJkyhT0KJ2dy88kKIQJPkaxd1/8jlHZaztyShPijd/aHEg== X-Migadu-Spam-Score: -2.18 X-Spam-Score: -2.18 X-Migadu-Queue-Id: 70A0AEC8F Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=l1qqAn28; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) X-Migadu-Scanner: scn1.migadu.com X-TUID: zEs4HkmM/bb3 Hi Tobias and Ludovic, Had you seen my reply below? It seems you had perhaps misunderstood the use case at hand? Maxim Cournoyer writes: > Hi Tobias, > > Tobias Geerinckx-Rice writes: > >> Hi Maxim, >> >> Nice! More steps towards world domination. > > Eh :-) > >> Maxim Cournoyer =E5=86=99=E9=81=93=EF=BC=9A >>> +# Environment variables >> >> These sound like they should be command-line arguments. > > I agree, but that'd require a loop, or GNU getopt, and I'm not motivated > enough in the moment to re-design it :-). When we get there, we could > add an --uninstall option too. > >> [=E2=80=A6] >> >> Actually, I'm not totally sold on GUIX_ALLOW_OVERWRITE. It's not >> solving much a problem. > > The problem it solves for me was that I needed to use 'guix pack'd > dependencies such as gpg, glibc for getent, and shadow's > groupadd/useradd, etc. to satisfy the install script dependencies on my > weird target OS (minimal busybox embedded OS); which are needed to be > unpacked under /gnu, thus conflicting with the requirement that /gnu > doesn't exist. > > I tried a relocatable pack, but it didn't work, at least for gpg (file > not found error). --=20 Thanks, Maxim