From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 OIx3FDnGNmUdGgEA9RJhRA:P1 (envelope-from ) for ; Mon, 23 Oct 2023 21:15:05 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id OIx3FDnGNmUdGgEA9RJhRA (envelope-from ) for ; Mon, 23 Oct 2023 21:15:05 +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 41B97642CB for ; Mon, 23 Oct 2023 21:14:44 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=fLnYkKcX; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1698088486; 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=EF0zaAyI2m+fq7wGAtKUX3ZskhjpCnQ29ZsLzQ9VZg0=; b=tVHXIAKfK3159+7BWm3dUiYjL5cWDamUvDbSzpCBm/4mCSgub717tlOOIbbq89ohYlHLs3 HwWXk9DbeAVJb9jtKLr28HL3dZLLjqeqdsVK38/jS6cbWw8i8NwrOUwCETE4QuIEqlZs1d 6I28qLTOZ0+bMkvUbolrw4tjnEUTGTDvvGBic91SGp9/is+HgdFfoQ77AfCuQvB4hf3Pgz b9DNwFWF7Ybv4ANCZMSjvDQTOaa1YHOYEyo0vAAXUd957W7SefKRQkuBi13AZ3JH0skDCx FIXavv9yNpGlz6aO2eA27ZHjXTgZbOus2A2fbzeqFYmcfntFK1/+lUO12Oygyw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1698088486; a=rsa-sha256; cv=none; b=pJAdOCQSFuJjQPMs/e2spJFZDvJczgAWSrcO1SLaghb8K10K5Bc/pGYXgsGwMZWuCD+nW4 dcGZ1wIYL+1LAKV+kmz33w/CYHsfQe0fkLYjZrPklzHnaHGbh9SfHiVJt85S5tW0Ylu/ny ZpLwWrX92AgwswBxe0+gp2DWiktDPm/vKvNnZgxnfZYi8AmjcIDlWdRruqsAUIaSviqBMp i2pX8YD5NBGI13KWIADc1Yn92BrU8BrHq1hWeWK4S1C3n6qxxamhl6hRn7E6BiUb7bwPrt ZhLnIZgvk2I1edzbzR+aKoeZxEipj/1U/SROoYbOHe8iS1ySgkWRgz/X8f/DJA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=fLnYkKcX; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qv0Nn-0002Xo-D5; Mon, 23 Oct 2023 15:14: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 1qv0Nl-0002Xd-O7 for bug-guix@gnu.org; Mon, 23 Oct 2023 15:14: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 1qv0Nl-0002M0-Fo for bug-guix@gnu.org; Mon, 23 Oct 2023 15:14:33 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qv0OE-0001bc-Fm for bug-guix@gnu.org; Mon, 23 Oct 2023 15:15:02 -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: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 23 Oct 2023 19:15:02 +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: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 66705@debbugs.gnu.org Received: via spool by 66705-submit@debbugs.gnu.org id=B66705.16980884956145 (code B ref 66705); Mon, 23 Oct 2023 19:15:02 +0000 Received: (at 66705) by debbugs.gnu.org; 23 Oct 2023 19:14:55 +0000 Received: from localhost ([127.0.0.1]:51713 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qv0O6-0001b3-RY for submit@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 ) id 1qv0O5-0001aq-7A for 66705@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@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 In-Reply-To: <87fs21ffhf.fsf@gnu.org> References: <87msw9fgpp.fsf@inria.fr> <87fs21ffhf.fsf@gnu.org> Date: Mon, 23 Oct 2023 21:14:08 +0200 Message-ID: <87zg09i22n.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: 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: 2.88 X-Migadu-Queue-Id: 41B97642CB X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: 2.88 X-TUID: 10qph/wfyU+o Hi, On Mon, 23 Oct 2023 at 18:52, Ludovic Court=C3=A8s 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