GNU bug report logs - #66705
‘guix shell -CW’ provides a Guix command without extra channels

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Severity: important; Reported by: Ludovic Courtès <ludovic.courtes@HIDDEN>; dated Mon, 23 Oct 2023 16:28:01 UTC; Maintainer for guix is bug-guix@HIDDEN.
Severity set to 'important' from 'normal' Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 66705 <at> debbugs.gnu.org:


Received: (at 66705) by debbugs.gnu.org; 23 Oct 2023 19:14:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 23 15:14:55 2023
Received: from localhost ([127.0.0.1]:51713 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qv0O6-0001b3-RY
	for submit <at> debbugs.gnu.org; Mon, 23 Oct 2023 15:14:55 -0400
Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]:40238)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1qv0O5-0001aq-7A
 for 66705 <at> debbugs.gnu.org; Mon, 23 Oct 2023 15:14:54 -0400
Received: by mail-wr1-x436.google.com with SMTP id
 ffacd0b85a97d-32163c3ece5so204845f8f.1
 for <66705 <at> debbugs.gnu.org>; Mon, 23 Oct 2023 12:14:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1698088458; x=1698693258; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:to:from:from:to:cc:subject:date:message-id
 :reply-to; bh=EF0zaAyI2m+fq7wGAtKUX3ZskhjpCnQ29ZsLzQ9VZg0=;
 b=fLnYkKcXZpSa5dOomxNlXmiSw21XxHpfLMjmvvlyyl/QPgR0ujeLon1k0RoQudeUDl
 Qy4FhMsBQ5Chs5D1Y6d3GjWPFf8vKob6Vh+vKNtj4qdw+QO1dTEB0Ccioo013QO2j8vD
 E7otknyIQ6IaB6t6W+tOy6+FqVNcHNlHZ9yHUbnID8QgCTtDtBCPhUlTYqfPnBpMF/ol
 O7/O36aPFoRPmsJZ2rzhjqkCKLmnA0qBnt2ziHFS4fARFdHcVhQw5lb2vqPPNM/lRZJD
 ZG2IQb9VfYkx/BXkexJepmbS3JCrPPwq47MzOjq5hL1ndMeP48OmOZCqMdB/KT7c0ISD
 eiqw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1698088458; x=1698693258;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:to:from:x-gm-message-state:from:to:cc:subject
 :date:message-id:reply-to;
 bh=EF0zaAyI2m+fq7wGAtKUX3ZskhjpCnQ29ZsLzQ9VZg0=;
 b=Qmjmr6ryvjh3fOtbVgtEi/oXgtLwbLzdqXrUeNTpr5/iRvHvjn2se0yYnfgwYgBYpS
 Iw6ijO0+E9zLOJu079Gz7lvz0yEIhuUZS7jIC/yNrPxk7POaFFzuZUlo7RBnwExuElKR
 o2dRCbdBPlAVFrDX4Qi9LuuKpt0x8IOz9Tskk1j6iLxEK+GQQb83QQTFelkOKvRBiDKG
 Rs6BzTtBdu//S4B5WV/IoH5iOo35gKPwSrgK8kXI5c0wqQCtcC0QShnSF8G1XUrFcT7R
 yN9NumjcMKGXLUsr3AQTl4cJFLpapLf/mRo8Cnd6FDBLtJ31hyk2ftaWixVErb2TMXcj
 Ph+g==
X-Gm-Message-State: AOJu0YwllBlQ2PoP5qXEa4tphRzDMr6cM5264vh6g8gai5lbG/P6hJQx
 s1fSTKPUeJegN9m1Q25XkcCRudc5ukU=
X-Google-Smtp-Source: AGHT+IHhlYB9TZ48QgPNtZfE6h7Un+a+nFB/+pP7qL+5zM5SzxoYt2Uu47gIKci8nJsSLSan7V+vBw==
X-Received: by 2002:a5d:458d:0:b0:32d:e694:3328 with SMTP id
 p13-20020a5d458d000000b0032de6943328mr6874337wrq.5.1698088458042; 
 Mon, 23 Oct 2023 12:14:18 -0700 (PDT)
Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id
 e8-20020adffc48000000b0031c5e9c2ed7sm5482840wrs.92.2023.10.23.12.14.16
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 23 Oct 2023 12:14:16 -0700 (PDT)
From: Simon Tournier <zimon.toutoune@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>, 66705 <at> debbugs.gnu.org
Subject: Re: bug#66705: =?utf-8?Q?=E2=80=98guix?= shell =?utf-8?Q?-CW?=
 =?utf-8?Q?=E2=80=99?= provides a Guix command without extra channels
In-Reply-To: <87fs21ffhf.fsf@HIDDEN>
References: <87msw9fgpp.fsf@HIDDEN> <87fs21ffhf.fsf@HIDDEN>
Date: Mon, 23 Oct 2023 21:14:08 +0200
Message-ID: <87zg09i22n.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 66705
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi,

On Mon, 23 Oct 2023 at 18:52, Ludovic Court=C3=A8s <ludo@HIDDEN> wrote:

> Actually, the original profile, which contains =E2=80=98guix=E2=80=99 and=
 its channels,
> *is* available in the environment:
>
> --8<---------------cut here---------------start------------->8---
> $ guix time-machine -C <(echo '(cons (channel (name (quote guix-hpc)) (ur=
l "https://gitlab.inria.fr/guix-hpc/guix-hpc.git")) %default-channels)') --=
 shell -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 descr=
ibe
>   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=3Dc=
bd20d627497053871db863970c07d93c7081786\cbd20d627497053871db863970c07d93c70=
81786]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/887d76a8=
e1d0f35d615c613b28b9b871f39a997e\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).

Oh.  Naive remarks.  The =E2=80=99guix=E2=80=99 in the manifest points to t=
he correct
one with both channels.

--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
[env]$ cat $GUIX_ENVIRONMENT/manifest
;; This file was automatically generated and is for internal use only.
;; It cannot be passed to the '--manifest' option.
;; Run 'guix package --export-manifest' if you want to export a file
;; suitable for '--manifest'.

(manifest
  (version 4)
  (packages
    (("coreutils"
      "9.1"
      "out"
      "/gnu/store/d4rqw481nwvrzs09nd8ad647nczgm9k1-coreutils-9.1")
     ("guix"
      "cbd20d627497053871db863970c07d93c7081786"
      "out"
      "/gnu/store/vrmfn5142771vzma3nzivb8j3zx9780v-profile"
      (search-paths
        (("GUIX_EXTENSIONS_PATH"
          ("share/guix/extensions")
          ":"
          directory
          #f)
         ("SSL_CERT_DIR"
          ("etc/ssl/certs")
          #f
          directory
          #f)))))))

[env]$ /gnu/store/vrmfn5142771vzma3nzivb8j3zx9780v-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 ef21e73
    repository URL: https://gitlab.inria.fr/guix-hpc/guix-hpc.git
    branch: master
    commit: ]8;;https://gitlab.inria.fr/guix-hpc/guix-hpc/commit/ef21e73d09=
e792c3ed18b2483a6290b8309bd929\ef21e73d09e792c3ed18b2483a6290b8309bd929]8;;\
--8<---------------cut here---------------end--------------->8---

Well, what appears to me weird is that the =E2=80=99guix=E2=80=99 I type is=
 incorrect
but points to a correct one.

--8<---------------cut here---------------start------------->8---
[env]$ ls -l $(type -P guix)
lrwxrwxrwx 1 65534 overflow 60 Jan  1  1970 /gnu/store/519kyqhl1n5r6cj0jbpk=
c77v4mnf6ip9-profile/bin/guix -> /gnu/store/vrmfn5142771vzma3nzivb8j3zx9780=
v-profile/bin/guix

[env]$ /gnu/store/519kyqhl1n5r6cj0jbpkc77v4mnf6ip9-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;;\

[env]$ /gnu/store/vrmfn5142771vzma3nzivb8j3zx9780v-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 ef21e73
    repository URL: https://gitlab.inria.fr/guix-hpc/guix-hpc.git
    branch: master
    commit: ]8;;https://gitlab.inria.fr/guix-hpc/guix-hpc/commit/ef21e73d09=
e792c3ed18b2483a6290b8309bd929\ef21e73d09e792c3ed18b2483a6290b8309bd929]8;;\
--8<---------------cut here---------------end--------------->8---

Well, another way to express,

        This is due to the fact that =E2=80=98-W=E2=80=99 (=E2=80=98--nesti=
ng=E2=80=99) is implemented by adding
        the outer =E2=80=98guix=E2=80=99 to the container=E2=80=99s profile=
, without also adding its
        companion profile entries (those that provide channels).

is to note that the manifest file is incorrect and does not contain the
outer manifest file, right?

--8<---------------cut here---------------start------------->8---
[env]$ cat /gnu/store/519kyqhl1n5r6cj0jbpkc77v4mnf6ip9-profile/manifest
;; This file was automatically generated and is for internal use only.
;; It cannot be passed to the '--manifest' option.
;; Run 'guix package --export-manifest' if you want to export a file
;; suitable for '--manifest'.

(manifest
  (version 4)
  (packages
    (("coreutils"
      "9.1"
      "out"
      "/gnu/store/d4rqw481nwvrzs09nd8ad647nczgm9k1-coreutils-9.1")
     ("guix"
      "cbd20d627497053871db863970c07d93c7081786"
      "out"
      "/gnu/store/vrmfn5142771vzma3nzivb8j3zx9780v-profile"
      (search-paths
        (("GUIX_EXTENSIONS_PATH"
          ("share/guix/extensions")
          ":"
          directory
          #f)
         ("SSL_CERT_DIR"
          ("etc/ssl/certs")
          #f
          directory
          #f)))))))

[env]$ cat /gnu/store/vrmfn5142771vzma3nzivb8j3zx9780v-profile/manifest
;; This file was automatically generated and is for internal use only.
;; It cannot be passed to the '--manifest' option.
;; Run 'guix package --export-manifest' if you want to export a file
;; suitable for '--manifest'.

(manifest
  (version 3)
  (packages
    (("guix"
      "cbd20d6"
      "out"
      "/gnu/store/xhim59kcwjnccsvyjv2cv2sbmid9lxm9-guix-cbd20d627"
      (propagated-inputs ())
      (search-paths ())
      (properties
        (source
          (repository
            (version 0)
            (url "https://git.savannah.gnu.org/git/guix.git")
            (branch "master")
            (commit
              "cbd20d627497053871db863970c07d93c7081786")
            (name guix)
            (introduction
              (channel-introduction
                (version 0)
                (commit
                  "9edb3f66fd807b096b48283debdcddccfea34bad")
                (signer
                  "BBB0 2DDF 2CEA F6A8 0D1D  E643 A2A0 6DF2 A33A 54FA")))))=
))
     ("guix-hpc"
      "ef21e73"
      "out"
      "/gnu/store/hjjwsjwm3csih0764f2mkbd65h44j7fz-guix-hpc"
      (propagated-inputs ())
      (search-paths ())
      (properties
        (source
          (repository
            (version 0)
            (url "https://gitlab.inria.fr/guix-hpc/guix-hpc.git")
            (branch "master")
            (commit
              "ef21e73d09e792c3ed18b2483a6290b8309bd929")
            (name guix-hpc))))))))
--8<---------------cut here---------------end--------------->8---


Cheers,
simon




Information forwarded to bug-guix@HIDDEN:
bug#66705; Package guix. Full text available.

Message received at 66705 <at> debbugs.gnu.org:


Received: (at 66705) by debbugs.gnu.org; 23 Oct 2023 16:53:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 23 12:53:24 2023
Received: from localhost ([127.0.0.1]:51478 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1quyBA-0003fs-Ex
	for submit <at> 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 <ludo@HIDDEN>) id 1quyB8-0003fc-1j
 for 66705 <at> 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 <ludo@HIDDEN>) id 1quyAZ-0001Cd-LV
 for 66705 <at> 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: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: 66705 <at> debbugs.gnu.org
Subject: Re: bug#66705: =?utf-8?Q?=E2=80=98guix?= shell =?utf-8?Q?-CW?=
 =?utf-8?Q?=E2=80=99?= provides a Guix command without extra channels
In-Reply-To: <87msw9fgpp.fsf@HIDDEN> ("Ludovic =?utf-8?Q?Court=C3=A8s=22?=
 =?utf-8?Q?'s?= message of "Mon, 23 Oct 2023 18:26:10 +0200")
References: <87msw9fgpp.fsf@HIDDEN>
Date: Mon, 23 Oct 2023 18:52:44 +0200
Message-ID: <87fs21ffhf.fsf@HIDDEN>
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-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 66705
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Ludovic Court=C3=A8s <ludovic.courtes@HIDDEN> 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.




Information forwarded to bug-guix@HIDDEN:
bug#66705; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 23 Oct 2023 16:27:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 23 12:27:03 2023
Received: from localhost ([127.0.0.1]:51433 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1quxle-0002vN-Ro
	for submit <at> debbugs.gnu.org; Mon, 23 Oct 2023 12:27:03 -0400
Received: from lists.gnu.org ([2001:470:142::17]:42016)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludovic.courtes@HIDDEN>) id 1quxlb-0002ue-S5
 for submit <at> debbugs.gnu.org; Mon, 23 Oct 2023 12:27:02 -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 <ludovic.courtes@HIDDEN>)
 id 1quxl3-0005MP-EU
 for bug-guix@HIDDEN; Mon, 23 Oct 2023 12:26:25 -0400
Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludovic.courtes@HIDDEN>)
 id 1quxl1-0004gb-1k
 for bug-guix@HIDDEN; Mon, 23 Oct 2023 12:26:25 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc;
 h=from:to:subject:date:message-id:mime-version:
 content-transfer-encoding;
 bh=zvgtT6mWRYxch4fcvuQL9GmDn7lB3GY0pnOv30krNpo=;
 b=EGb5PWUSdTcLEFiziTO778lta6OqtVAyzbMmrw/4LiNiqHVUdJrhxHsu
 otFKcEWJRFoJTAabOf1aVqzNyx9LZ/U4Towl//YVmI/1bU40cZ7X8z9V7
 /Xe3XjN8DkEC3RVNzbGQEq1k2mGSKKpd024X5fW6A3d/XmfKqK3KEC3HM I=;
Authentication-Results: mail2-relais-roc.national.inria.fr;
 dkim=none (message not signed) header.i=none;
 spf=SoftFail smtp.mailfrom=ludovic.courtes@HIDDEN;
 dmarc=fail (p=none dis=none) d=inria.fr
X-IronPort-AV: E=Sophos;i="6.03,244,1694728800"; d="scan'208";a="132760332"
Received: from unknown (HELO ribbon) ([193.50.110.87])
 by mail2-relais-roc.national.inria.fr with
 ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Oct 2023 18:26:10 +0200
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludovic.courtes@HIDDEN>
To: bug-guix@HIDDEN
Subject: =?utf-8?Q?=E2=80=98guix?= shell =?utf-8?Q?-CW=E2=80=99?= provides a
 Guix command without extra channels
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: Duodi 2 Brumaire an 232 de la =?utf-8?Q?R=C3=A9volut?=
 =?utf-8?Q?ion=2C?= jour du =?utf-8?Q?C=C3=A9leri?=
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Mon, 23 Oct 2023 18:26:10 +0200
Message-ID: <87msw9fgpp.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=192.134.164.83;
 envelope-from=ludovic.courtes@HIDDEN;
 helo=mail2-relais-roc.national.inria.fr
X-Spam_score_int: -43
X-Spam_score: -4.4
X-Spam_bar: ----
X-Spam_report: (-4.4 / 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,
 RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

=E2=80=98guix shell -CW=E2=80=99 dismisses extra channels available in the =
original
Guix, as illustrated by this example:

--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 -- guix describe
  guix cbd20d6
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: cbd20d627497053871db863970c07d93c7081786

$ guix time-machine -C <(echo '(cons (channel (name (quote guix-hpc)) (url =
"https://gitlab.inria.fr/guix-hpc/guix-hpc.git")) %default-channels)') -- d=
escribe
  guix cbd20d6
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: cbd20d627497053871db863970c07d93c7081786
  guix-hpc 887d76a
    repository URL: https://gitlab.inria.fr/guix-hpc/guix-hpc.git
    branch: master
    commit: 887d76a8e1d0f35d615c613b28b9b871f39a997e
--8<---------------cut here---------------end--------------->8---

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, withou=
t also adding its
companion profile entries (those that provide channels).

Ludo=E2=80=99.




Acknowledgement sent to Ludovic Courtès <ludovic.courtes@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#66705; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 23 Oct 2023 20:00:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.