From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 0EydGIFsYmO6VgEAbAwnHQ (envelope-from ) for ; Wed, 02 Nov 2022 14:11:29 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id eHSDF4FsYmOszgAAG6o9tA (envelope-from ) for ; Wed, 02 Nov 2022 14:11:29 +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 E345F340A5 for ; Wed, 2 Nov 2022 14:11:28 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oqDSh-00046m-T8; Wed, 02 Nov 2022 09:07:19 -0400 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 1oqDST-0003NQ-6d for guix-patches@gnu.org; Wed, 02 Nov 2022 09:07:06 -0400 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 1oqDSQ-0005hT-MP for guix-patches@gnu.org; Wed, 02 Nov 2022 09:07:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oqDSQ-0003vJ-E0 for guix-patches@gnu.org; Wed, 02 Nov 2022 09:07:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58583] [PATCH 0/1] scripts: package: Forbid installation of the guix package. Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 02 Nov 2022 13:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58583 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxim Cournoyer , Tobias Geerinckx-Rice , paren@disroot.org Cc: "\(" , 58583@debbugs.gnu.org Received: via spool by 58583-submit@debbugs.gnu.org id=B58583.166739436914961 (code B ref 58583); Wed, 02 Nov 2022 13:07:02 +0000 Received: (at 58583) by debbugs.gnu.org; 2 Nov 2022 13:06:09 +0000 Received: from localhost ([127.0.0.1]:45148 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oqDRZ-0003tA-C4 for submit@debbugs.gnu.org; Wed, 02 Nov 2022 09:06:09 -0400 Received: from mail-wr1-f47.google.com ([209.85.221.47]:45885) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oqDRW-0003sH-Ca for 58583@debbugs.gnu.org; Wed, 02 Nov 2022 09:06:06 -0400 Received: by mail-wr1-f47.google.com with SMTP id y16so24422358wrt.12 for <58583@debbugs.gnu.org>; Wed, 02 Nov 2022 06:06:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=WYPOFPCTEXfIX+LRQIrSht0nfswLqtRyaMvdVydXUkY=; b=ToGKO5QHyNBDSojhwBlShuR4RnMwz76TdMdxjEwamwvkN11Vu0r8eHC5r6TboXzajr ML6CLnQluHGV1Jbgl3Vf9vZmk5ymkYg/cyvO9+8HsTMwdtONIqHWkDczn1NqdGlNgwGS btWe5Go6ctsVT8WDzE6A2zvPfnTPjgLo82SYVFhdYbLWqgSfxFjw93RQpBsUodvg/Xtz UP9Ggw6szaIdmDlK7eRilkCbOoNIz/cXl6ZJnJ3Cnw5QeLluYhqEFsES/0SrXUlMC3zB iATld7VI8uTvxAohRZ9WIYCk2PQ6hZBWhzW1uydZ0IdAEd6+gmtokwtZOgSXXwSZzlyR nmQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=WYPOFPCTEXfIX+LRQIrSht0nfswLqtRyaMvdVydXUkY=; b=EM7j2ETaaIhUPirxmQtEPSo7YZeTEp9M5wDTDJYhvg4L6W41Xllfb9+/YU5KSx2jTI aR44tQ2uH/cHrw+iVaIMytlcF3Ac97JU6BD5kEKsGsfwkgsoeWebW1dN6bM22XhZUUMi Z+IwQrMe1LplxfexvFtioJ6WNYmJ/SYO4jcQfJlGehmhUMzc9dP6R93WfA6GWsC+ZjQr Lu5uXlG6bLXkJPb0EvGrMboyvIkBBYJb3t7juz2tuTfq/omGGQHwDvZbgcF8xupJINTk iQaeai3OObrl8z5vc6NPxquFFG8euRTR7tbrtDIi+3hHihDSdOOL7Xxtjm1pvXyGmApm nVGw== X-Gm-Message-State: ACrzQf2QETwGs+CWAsR+kiP0R5rVyN6s7vZLbCLvqhdfnDVkWpwUZMIA XGa9FHT/8VT+eh47RI4GtNZCTrGER+E= X-Google-Smtp-Source: AMsMyM7MIhZLzHp7XjQEH8g18kbZQz8SggsPV8w5KUSX1qN6b3407OxkC7FpwancIw1z8GDxRMZWJQ== X-Received: by 2002:adf:df03:0:b0:236:78cb:b6e5 with SMTP id y3-20020adfdf03000000b0023678cbb6e5mr14795524wrl.269.1667394360669; Wed, 02 Nov 2022 06:06:00 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id e11-20020adfe7cb000000b00236740c6e6fsm12635431wrn.100.2022.11.02.06.06.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Nov 2022 06:06:00 -0700 (PDT) From: zimoun In-Reply-To: <86a65g8k9a.fsf@gmail.com> References: <20221017121642.15468-1-paren@disroot.org> <20221017165057.15648-1-paren@disroot.org> <874jw2l3m6.fsf@gmail.com> <87ilk5hw3g.fsf_-_@gmail.com> <86a65g8k9a.fsf@gmail.com> Date: Wed, 02 Nov 2022 12:47:39 +0100 Message-ID: <874jvhh92c.fsf@gmail.com> 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: , Sender: "Guix-patches" Errors-To: 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=1667394689; 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=WYPOFPCTEXfIX+LRQIrSht0nfswLqtRyaMvdVydXUkY=; b=akh21SVcBUqDkPCNBLZBuAP+Bi80/RJLQ54iLwpkXDvGNjbv95SqG+S3N7XYogNmHZZH9S ZLN6AdMSZ9btpf6wj7M8cq7NHNEZcKz7F6I1+l9+IWkyuksyO76vVrK+W4ufBh1iChKgk/ 2G4RPFiOXf75QoQa8n2INg7zMdCGfxTUygkz1B3kxkwuMOwq9jB/mph6ILI1Zk87yZi78+ CzKjKFpdyrAVct3z7m0SMcg6CTVQm4MBC/2k52Veb0Wq1foCvn6gx/9+vN8rtUgbO3dX4x SItkbUH9SlibEFbS1oXeDCczn8VF/ll6qpLVOiDkABGolOpGk/Nz1rEnIgqRfw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667394689; a=rsa-sha256; cv=none; b=fOqvcRBY2oEuO3NtSZ0kf6LAAfBk8a286nMElUQ9qy3YOF8tz3Z4e66+AgcaINoZ1AY9cb eemfFzXKtnUXRgxwaNH9Ou3l8RsgPuyM/TuDqMnBWSOZCBeFSXxryR5zXedkcGtTuWkhqD X8erLpqSnk5QABHc8lq8t6W46o2H7bYW/VkvBa6daSPLLDyd+XOHTRl9OsfNnTDh1PSNnm rsy5Z1XYIGFVt1XhPWlj3lOZCHWVVLld7Qi47Kgcu3CSNEuLEeC5IxMtZJJJlrWUVLXCBw CE1U/U/lV+ciKOM4SgwA3/BGwLk8n8XdHttJ9kuyBDRJFV0Q4VkaS8kcxp1h5A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=ToGKO5QH; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 6.21 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=ToGKO5QH; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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-Queue-Id: E345F340A5 X-Spam-Score: 6.21 X-Migadu-Scanner: scn0.migadu.com X-TUID: VkGzLm4AAkXT Hi (, Maxim and Tobias, Well, as I said, I do not have a strong opinion. If 3 of you think an error is better than a warning, then I rally to the proposal. Minor comments about yours. :-) On ven., 28 oct. 2022 at 15:31, "\( via Guix-patches" via wrote: > What about just this? > > guix shell guix > > That's still possible. To be precise, the correct would be: guix time-machine -C channels.scm -- shell guix which is=E2=80=A6 equivalent to define a profile. ;-) i.e., guix package -i guix -p my/dev On ven., 28 oct. 2022 at 11:47, Maxim Cournoyer = wrote: > Does the benefit of fixing the Guix API used via a user profile > installed Guix package outweigh the cons of downgrading the version of > guix used as the user's package manager? I don't think so. By > installing the inner 'guix' into your user profile, you are basically > downgrading its version compared to the one you used to install it. > That's a pretty confusing thing to happen for most users. I agree. However, to me, it is a warning (or a hint) =E2=80=93 =C2=ABhey y= ou are probably doing something wrong=C2=BB =E2=80=93 and not an error =E2=80=93 = =C2=ABwe provide you something but no, not this way=C2=BB. Therefore, why do we provide the =E2=80=99guix=E2=80=99 package in the firs= t place? (BTW, I think the correct way to use Guix as a library is to use it via GUIX_EXTENSIONS_PATH as pioneered by gwl and followed by guix-modules. :-)) On ven., 28 oct. 2022 at 18:20, Tobias Geerinckx-Rice via Guix-patches via = wrote: > How does one continue to use guix *as a package manager*, having=20 > now silently broken =E2=80=98guix pull=E2=80=99? There is a confusion here, maybe? Guix is also a Guile library and that library is designed around package management. Well, maybe instead the package =E2=80=99guix=E2=80=99, it should be renamed =E2=80=99guile-guix=E2=80=99 or =E2=80=99guile-libguix=E2=80=99. On ven., 28 oct. 2022 at 19:01, Tobias Geerinckx-Rice via Guix-patches via = wrote: > Would this be address by refusing only to =E2=80=98guix install guix=E2= =80=99=20 > without an explicit --profile argument? This would eliminate 99%=20 > of unintentional footguns. We could still warn. Personally, I do not consider ~/.guix-profile more special. But maybe, it would help to address the newcomer=E2=80=99s confusion. Again, I think a strong warning is better than a hard error but I do not have a strong opinion. Cheers, simon