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 MOKEInng62OA3gAAbAwnHQ (envelope-from ) for ; Tue, 14 Feb 2023 20:26:49 +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 mJ1cInng62N0OwEA9RJhRA (envelope-from ) for ; Tue, 14 Feb 2023 20:26:49 +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 0DEB2D94F for ; Tue, 14 Feb 2023 20:26:48 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pS0wH-0002Sh-0O; Tue, 14 Feb 2023 14:26:05 -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 1pS0wF-0002FN-5M for bug-guix@gnu.org; Tue, 14 Feb 2023 14:26: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 1pS0wE-0005fE-Rh for bug-guix@gnu.org; Tue, 14 Feb 2023 14:26:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pS0wE-0002VT-N7 for bug-guix@gnu.org; Tue, 14 Feb 2023 14:26:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#61343: modules from channels is not available to "guix repl" Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 14 Feb 2023 19:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61343 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= , 61343@debbugs.gnu.org Received: via spool by 61343-submit@debbugs.gnu.org id=B61343.16764027219544 (code B ref 61343); Tue, 14 Feb 2023 19:26:02 +0000 Received: (at 61343) by debbugs.gnu.org; 14 Feb 2023 19:25:21 +0000 Received: from localhost ([127.0.0.1]:57015 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pS0vZ-0002Tr-BO for submit@debbugs.gnu.org; Tue, 14 Feb 2023 14:25:21 -0500 Received: from mail-wr1-f47.google.com ([209.85.221.47]:37799) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pS0vU-0002Su-Kd for 61343@debbugs.gnu.org; Tue, 14 Feb 2023 14:25:17 -0500 Received: by mail-wr1-f47.google.com with SMTP id m10so7845197wrn.4 for <61343@debbugs.gnu.org>; Tue, 14 Feb 2023 11:25:16 -0800 (PST) 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:to:from:from:to:cc:subject:date:message-id :reply-to; bh=nhOwJ6JtmxLW52cNtStnU1WbTRs0YhWpaohzM8hVPjE=; b=XWJst04MhvdA4ZC7oMkQwmQjKEJUxDB2GdBULXXlMV4TpuqazCuppBR2vV3MYP5p2B xZUjjEgooK1i414Le8OIzk+O5K7i0PN64rfn1RngckKgs8B28OLxytnlRFwLql4jg2Ae jfMT8VFdZO1f/5uR47srwXBhfHXkdxL7eJ5pBgplsSpsJFws4jl1/YUdhltsi+oRI7k/ zoh3lqgGTZ3WqLtaDCCUtV+MNUSlNqYPbyPD5Dr1mHDdxYgybsIRsFWltZ6asqr+B7Ps WpNreG6d1QILzqrtdl7/F08IOKowzysM7emAOu/Dj3at+W7jhjGvYi+JqFB8HtGDkm+f F7iQ== 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:to:from:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=nhOwJ6JtmxLW52cNtStnU1WbTRs0YhWpaohzM8hVPjE=; b=GCZOF29vjdS8mR2EQoclOXdPiSniqsjZzSqd6SxrS418iCLyQHmcai1BLvuftpeMgR tm/vMfZ9EO5TSZrmSVTaAFtjDdcm9h5M55zPoMQGcdipPWU9MWirt11tQkAl3S9qhJLg QBbhXvmkfilxMgAEBUlcRD0N0Dl067YxHbyOmJiKAJ/h4hI9DlFKOUwq6GhYBg3WpGHs f+4lKmG3ur6ClESkQ/TVYEi7ExbNVqOVo4xpnZ1gcndaa8VA8cYv0ZiTl9LtCybhQebp Xv776IXRGnZ3IvaKIhdTNwTPp729GK6jPFUfJ6PIELDS+ErazHPYgAvgm7AnDwLdiVgZ ydJA== X-Gm-Message-State: AO0yUKUij8gA7AoP4XddHFXWMKyowdT4ek6LK3wee9AfcH+IbwC19YPQ uh+3S0hKvgdkIu+plwLnBlyf0Ovd9sM= X-Google-Smtp-Source: AK7set+v1/RuU5xVJl/d9y2GyoK38yBRMPJGV+hw9JsXtIT2aFsWplXu3Ck0BDNIaS4MCca7FqmMHA== X-Received: by 2002:adf:f68f:0:b0:2c5:4e28:e33c with SMTP id v15-20020adff68f000000b002c54e28e33cmr2500156wrp.2.1676402710938; Tue, 14 Feb 2023 11:25:10 -0800 (PST) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id k24-20020a5d5258000000b002c54c9bd71fsm10571788wrc.93.2023.02.14.11.25.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Feb 2023 11:25:10 -0800 (PST) From: Simon Tournier In-Reply-To: <87k00tlul8.fsf@envs.net> References: <87k00tlul8.fsf@envs.net> Date: Tue, 14 Feb 2023 20:22:45 +0100 Message-ID: <87zg9gxda2.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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676402809; a=rsa-sha256; cv=none; b=bfAudF/nqO2qW3hiGDWK8svm/22xqFk66D2omDCpS27IbwoWFIcbLtBC/gZIPuiWaIImbB K+IkjMooEJ1mcPJhxbjw9FiTMDBgcRiCQJpNwSPK581OO1GvY/xlxXv3Jv0vbbYgLD9D3b ZouVWqcUpP+vE0QB1q26Ppv0lAiGhqfYzqwhLWvvMmIEpn170mwqIh88tiFTmtaqH1g03L M8i3HGwr+ImgIMxfH1wIxpGzMfKBqr3U44VhLGB/DfeytWpofqOmgXRyJt25LZrh8vk40O oaTGrke4KhnU6M+WiUWyK8O2WwjOC8oGwg5iwvRe/XtZsl1LBslOMK/LJoMWPw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=XWJst04M; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676402809; 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=nhOwJ6JtmxLW52cNtStnU1WbTRs0YhWpaohzM8hVPjE=; b=Ld1wNDN4gfdsI9M1ma8KdnC3Oa0QWAwzrc/jiyuSVzbZsQUBwT8SpUqBmZo7IvkGXWCfhr /AaHH7lF4qfPaD15sXW166/ZFIQ0oDvqjikWhpPivwkWoPS2ivVossG0Gc8eB7oZ4sySj4 jnOPEcb46o2HIrfZbp210SrhNk0PBH8DhVGbSAOcx5rRv72UlDZ35nC/oCggaqOZRXck2n dG+tvJhFXMLKEfDVZo8OKv6RoolTYxHh3D/osCN9KwEKrwiw155XB7JqpviD2EtxL5U7gc /GX0XgR/YLJYkku0vrz/NtIANGeTwFUf9m8mUbkMJ+zp3PydCmcO5ij9/o3e4A== X-Migadu-Queue-Id: 0DEB2D94F X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=XWJst04M; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" X-Migadu-Spam-Score: -0.52 X-Spam-Score: -0.52 X-TUID: MEFONqyupIGF Hi, On mar., 07 f=C3=A9vr. 2023 at 16:59, =E5=AE=8B=E6=96=87=E6=AD=A6 via Bug r= eports for GNU Guix wrote: > --8<---------------cut here---------------start------------->8--- > (cons* > (channel > (name 'rde) > (url "https://git.sr.ht/~abcdw/rde") > (introduction > (make-channel-introduction > "257cebd587b66e4d865b3537a9a88cccd7107c95" > (openpgp-fingerprint > "2841 9AC6 5038 7440 C7E9 2FFA 2208 D209 58C1 DEB0")))) > %default-channels) > --8<---------------cut here---------------end--------------->8--- > > But then, Run: > echo '(use-modules (rde features))' | guix repl /dev/stdin > Will get error: no code for module (rde features) > > Well, Run: > echo '(use-modules (gnu packages) (rde features))' | guix repl /dev/std= in > Will pass! Yes, somehow a bug with the load path. --8<---------------cut here---------------start------------->8--- $ guix time-machine -C /tmp/channels.scm -- repl -q GNU Guile 3.0.9 Copyright (C) 1995-2023 Free Software Foundation, Inc. Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'. This program is free software, and you are welcome to redistribute it under certain conditions; type `,show c' for details. Enter `,help' for help. scheme@(guix-user)> ,pp %load-path $1 =3D ("/gnu/store/n7h2ggfgljikvy9xlppsihvhgqj6bprd-guix-module-union/shar= e/guile/site/3.0" "/gnu/store/kphp5d85rrb3q1rdc2lfqc1mdklwh3qp-guile-3.0.9/share/guile/3.0" "/gnu/store/kphp5d85rrb3q1rdc2lfqc1mdklwh3qp-guile-3.0.9/share/guile/3.0" "/gnu/store/kphp5d85rrb3q1rdc2lfqc1mdklwh3qp-guile-3.0.9/share/guile/site/= 3.0" "/gnu/store/kphp5d85rrb3q1rdc2lfqc1mdklwh3qp-guile-3.0.9/share/guile/site" "/gnu/store/kphp5d85rrb3q1rdc2lfqc1mdklwh3qp-guile-3.0.9/share/guile" "/home/simon/.guix-profile/share/guile/site/3.0" "/home/simon/.config/guix/profiles/emacs/emacs/share/guile/site/3.0" "/home/simon/.guix-profile/share/guile/site/3.0" "/home/simon/.config/guix/profiles/emacs/emacs/share/guile/site/3.0") scheme@(guix-user)> (use-modules (gnu packages)) scheme@(guix-user)> ,pp %load-path $2 =3D ("/gnu/store/n7h2ggfgljikvy9xlppsihvhgqj6bprd-guix-module-union/shar= e/guile/site/3.0" "/gnu/store/kphp5d85rrb3q1rdc2lfqc1mdklwh3qp-guile-3.0.9/share/guile/3.0" "/gnu/store/kphp5d85rrb3q1rdc2lfqc1mdklwh3qp-guile-3.0.9/share/guile/3.0" "/gnu/store/kphp5d85rrb3q1rdc2lfqc1mdklwh3qp-guile-3.0.9/share/guile/site/= 3.0" "/gnu/store/kphp5d85rrb3q1rdc2lfqc1mdklwh3qp-guile-3.0.9/share/guile/site" "/gnu/store/kphp5d85rrb3q1rdc2lfqc1mdklwh3qp-guile-3.0.9/share/guile" "/home/simon/.guix-profile/share/guile/site/3.0" "/home/simon/.config/guix/profiles/emacs/emacs/share/guile/site/3.0" "/home/simon/.guix-profile/share/guile/site/3.0" "/home/simon/.config/guix/profiles/emacs/emacs/share/guile/site/3.0" "/gnu/store/nf3z5kqjybi687v8li2dcbc5i49zm15s-rde/share/guile/site/3.0") scheme@(guix-user)> ,use(srfi srfi-1) scheme@(guix-user)> (lset-difference string=3D? $2 $1) $3 =3D ("/gnu/store/nf3z5kqjybi687v8li2dcbc5i49zm15s-rde/share/guile/site/3= .0") scheme@(guix-user)> ,q $ ls /gnu/store/nf3z5kqjybi687v8li2dcbc5i49zm15s-rde/share/guile/site/3.0 contrib gnu rde --8<---------------cut here---------------end--------------->8--- >From my understanding, it is about %package-module-path not activated by =E2=80=9Cguix repl=E2=80=9C; I do not know if it is a bug or a feature. :-) Cheers, simon