From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id gOiKBxmlNmWIVAAAG6o9tA:P1 (envelope-from ) for ; Mon, 23 Oct 2023 18:53:45 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id gOiKBxmlNmWIVAAAG6o9tA (envelope-from ) for ; Mon, 23 Oct 2023 18:53:45 +0200 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 724276D039 for ; Mon, 23 Oct 2023 18:53:44 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=dnbTzhUM; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1698080025; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=BOyGnnQiRXPqCG32KLGWVGeZ8Hr/S6J/m/Me5P4lh8o=; b=PWWze5ebaqBgALGUtmQXS1FNqWqyiTOUP+iAFKINsHmdAf1BNcV/AByiUodL5W0FO44Yys xgA4kBhlqDRcxbaw0N8RSBoMohMyB3eNsAZYZKsowoWhJuuPZZ3jpgtKv4NRfdglXNNKMH Gu8pEabx0DPlXrBzDyZ6PaFRzYcyeJMi0GNFBWk/fbXBRX7yFZSRucZnBbel+lq3P2wh9n jsEkwgMkXbx5lFo79S/fLR0E24k4S+0kpIEmO8luKyEN4vHAE2BOXN99WsurAKeM7LDra5 6akFFEGyckDFZ0naI9OTiglORYUOEB4YMIQJdj9AqafIzoVIWLo4+Km28S66Yg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1698080025; a=rsa-sha256; cv=none; b=PKTdfqYGnDwAYK9bgFI7N42d/K9gI629udL3pW3v2Vkr7Pjv4zDzyzBOB+6LM4h8KAEYt2 o/OcMBCWIFxVxMcCZquuLnPEmXwlLQXodhA5RfT1cgKnkUKRjW3dSj7clN8lnmSZWOnEdl ywBZS3Ca4Pg7miILe/vHIDNY1ZyDQrtu551eR1fCf/f9+/5B5Zt9CWfvO+CT5IuZnyXNNz Woi9WOUS6B/m9dbV+PfP6PzBmXN4tNdz3EqfKFxBLINtoUTGblBR00lq4XY53SAV5SWZre gDUF8KSrdpl3ukT5GO0Cr37OQtJNdf/8K2FPE4TOkMRhlZqTB/6ZSVFcI0HItw== 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=dnbTzhUM; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1quyBL-0005h6-8F; Mon, 23 Oct 2023 12:53:35 -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 1quyBJ-0005gp-02 for bug-guix@gnu.org; Mon, 23 Oct 2023 12:53:33 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1quyBI-0001Hk-OD for bug-guix@gnu.org; Mon, 23 Oct 2023 12:53:32 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1quyBl-0003gj-IT for bug-guix@gnu.org; Mon, 23 Oct 2023 12:54:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#66705: =?UTF-8?Q?=E2=80=98guix?= shell =?UTF-8?Q?-CW=E2=80=99?= provides a Guix command without extra channels Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 23 Oct 2023 16:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66705 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 66705@debbugs.gnu.org Received: via spool by 66705-submit@debbugs.gnu.org id=B66705.169808000414132 (code B ref 66705); Mon, 23 Oct 2023 16:54:01 +0000 Received: (at 66705) by debbugs.gnu.org; 23 Oct 2023 16:53:24 +0000 Received: from localhost ([127.0.0.1]:51478 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1quyBA-0003fs-Ex for submit@debbugs.gnu.org; Mon, 23 Oct 2023 12:53:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43058) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1quyB8-0003fc-1j for 66705@debbugs.gnu.org; Mon, 23 Oct 2023 12:53:23 -0400 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 1quyAZ-0001Cd-LV for 66705@debbugs.gnu.org; Mon, 23 Oct 2023 12:52:47 -0400 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=BOyGnnQiRXPqCG32KLGWVGeZ8Hr/S6J/m/Me5P4lh8o=; b=dnbTzhUMUMoGBLGM0FHs yyVLA98cc6vAcbPqVrfHj5UUdXvlCj2r6N/ESEw+k901ifFBKYm0LwxtK4C6VsvC/F4YIacm343rU HCTcdUy3iP4cllEa+8JJ5ux28QADBqIC9w1WcgCriPY0M6TMkPwZ7L4U9ype67bi/6wLWUFg3HNRW pEk0UTq1KSjtEORDztPBmIHijsRwgrVzo3uBxs1pGdNtJyDl7g0ZOkXjcMkCRqbqVI4PWVnjEGTVn J4t8KKy0TIjXP0+Y1Wa1tjPP5xtSnMA5WtUodoFHOqsnMDAoqW/IPgfp81bdCgCWaZyv4G5F6x145 +yUUueGLgWAGGg==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <87msw9fgpp.fsf@inria.fr> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Mon, 23 Oct 2023 18:26:10 +0200") References: <87msw9fgpp.fsf@inria.fr> Date: Mon, 23 Oct 2023 18:52:44 +0200 Message-ID: <87fs21ffhf.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) 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: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: -6.82 X-Migadu-Queue-Id: 724276D039 X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -6.82 X-TUID: w59QQkRdYTBx Ludovic Court=C3=A8s skribis: > This is due to the fact that =E2=80=98-W=E2=80=99 (=E2=80=98--nesting=E2= =80=99) is implemented by adding > the outer =E2=80=98guix=E2=80=99 to the container=E2=80=99s profile, with= out also adding its > companion profile entries (those that provide channels). Actually, the original profile, which contains =E2=80=98guix=E2=80=99 and i= ts channels, *is* available in the environment: --8<---------------cut here---------------start------------->8--- $ guix time-machine -C <(echo '(cons (channel (name (quote guix-hpc)) (url = "https://gitlab.inria.fr/guix-hpc/guix-hpc.git")) %default-channels)') -- s= hell -CW coreutils=20 [env]$ readlink -f $(type -P guix) /gnu/store/42731vcvzl6nrwa584mziwhpvp4xs72r-guix-command [env]$ type -P guix /gnu/store/ca142m4lm0grxmsjqrcqpfl5qb5i1rka-profile/bin/guix [env]$ readlink $(type -P guix) /gnu/store/j5g09kjd7pv1b6919vbsnjs160xfw9md-profile/bin/guix [env]$ /gnu/store/j5g09kjd7pv1b6919vbsnjs160xfw9md-profile/bin/guix describe guix cbd20d6 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: ]8;;https://git.savannah.gnu.org/cgit/guix.git/commit/?id=3Dcbd= 20d627497053871db863970c07d93c7081786\cbd20d627497053871db863970c07d93c7081= 786]8;;\ guix-hpc 887d76a repository URL: https://gitlab.inria.fr/guix-hpc/guix-hpc.git branch: master commit: ]8;;https://gitlab.inria.fr/guix-hpc/guix-hpc/commit/887d76a8e1= d0f35d615c613b28b9b871f39a997e\887d76a8e1d0f35d615c613b28b9b871f39a997e]8;;\ --8<---------------cut here---------------end--------------->8--- The problem is the extra profile layer that confuses =E2=80=98current-channel-entries=E2=80=99 in (guix describe). Ludo=E2=80=99.