Simon Tournier <zimon.toutoune@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Debbugs Internal Request <help-debbugs@HIDDEN>
to internal_control <at> debbugs.gnu.org
.
Full text available.Received: (at 61343) by debbugs.gnu.org; 2 Mar 2023 19:48:23 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 02 14:48:23 2023 Received: from localhost ([127.0.0.1]:58426 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pXouc-0005WG-Qp for submit <at> debbugs.gnu.org; Thu, 02 Mar 2023 14:48:23 -0500 Received: from mail-wr1-f49.google.com ([209.85.221.49]:38481) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <zimon.toutoune@HIDDEN>) id 1pXouZ-0005Ug-3Y; Thu, 02 Mar 2023 14:48:19 -0500 Received: by mail-wr1-f49.google.com with SMTP id h11so233579wrm.5; Thu, 02 Mar 2023 11:48:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1677786493; 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=VwydRvwNdZdVwsY4EDs916+vpANewIq2LWoJoBiuORQ=; b=ZdeIDoWkuq8McnVeOkeGr4VBp8fl71CaI4QSlSEcL3i0L2Q77f0p2aYJsD93E/2wia iN2MWuTxzCGJG/3Hh7zvtq8Di5hcTpr360xwN0ml+o2aIQC9kfrUmsCDScrVo+iyRnYu 8MGfc0xS9etJrS3HdEnJD30etbeSUXrGugB2m0wvocmAG/nkmk46P49+Vojj/a1cpasO Pfx4ahjzDDLoezh6kAnYHDzWL4z9lRBgCquevFgWXdI6OI+1ZlmCRrGfuRXHHNtbxJAN cYkzs3hXDRFvb541/zwp4siiOqcA6iUsX0Nf1h391DNjeSHJL81MIblssjIT7gelCIIJ 8R9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677786493; 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=VwydRvwNdZdVwsY4EDs916+vpANewIq2LWoJoBiuORQ=; b=iuutFwuUHJTLl22Z05oRAvpNhZopFqk+QARbGgXFNbKhXBQ1r6/PnvwnwBQmOVzg8P FxPtD7/O6NcSCXxElCrD7BfNo1NVtK1GuMlGU0XK/hs5oHffRBA+dyYb0CTq8yVoQkZU ymEQfqX7Ov6syWXocY3fyy+hyPFK5d3QEhZES98/7osorEyEUrxjsWmY+JVeH/Gqvbrp j0ZaG4EMFsLKoAhyIizpDrpZzAgE1H8TQLJnQdvohwpJRfS0MunEKSN/bGcpLKI9fw3e iiqOrc4EIC1Lp/ZsRs105T79d2xuYBeO+Maln/q3bdpEX0Dm6+rnRda0bqQHdWTLhHmJ MrWg== X-Gm-Message-State: AO0yUKUBQR7dYuHvbhASCzsONJWLUDiKqJ3w11aRL2eUSXSPlNAN5QT8 0LdyK8YIRd7D2q4FAHPGE0kra7kakbM= X-Google-Smtp-Source: AK7set/gS3qsR4Ubelc6rYxbG9hAXz2B8ObQ96Uybw9qnJsc0VsSSNxk1OTM/knnJjS0O2WozvqMFg== X-Received: by 2002:adf:f285:0:b0:2c7:1c4e:1d16 with SMTP id k5-20020adff285000000b002c71c4e1d16mr6503716wro.0.1677786493276; Thu, 02 Mar 2023 11:48:13 -0800 (PST) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id j17-20020adff011000000b002c5a1bd527dsm198419wro.96.2023.03.02.11.48.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Mar 2023 11:48:13 -0800 (PST) From: Simon Tournier <zimon.toutoune@HIDDEN> To: Andrew Tropin <andrew@HIDDEN>, Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN> Subject: Re: bug#61574: bug#61343: bug#61574: [PATCH v2] scripts: repl: Extend REPL %load-path with all channels. In-Reply-To: <87o7pbs1xn.fsf@HIDDEN> References: <e0ffbcbb07fe41a04688223342461aa4d3310142.1676582046.git.dev@HIDDEN> <20230217145627.85062-1-zimon.toutoune@HIDDEN> <87sferky1k.fsf@HIDDEN> <87o7pbs1xn.fsf@HIDDEN> Date: Thu, 02 Mar 2023 20:48:07 +0100 Message-ID: <87cz5rdjew.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: 61343 Cc: 61574 <at> debbugs.gnu.org, Josselin Poiret <dev@HIDDEN>, 61343 <at> debbugs.gnu.org, iyzsong@HIDDEN 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, I reopen the bug. On jeu., 02 mars 2023 at 17:44, Andrew Tropin <andrew@HIDDEN> wrote: > Thank you for the patch, I also faced this problem and it seems this > change doesn't fix it. Indeed. I have no clue what I messed up. Since I removed the Git worktree, I am not able to investigate the root of my mistake. I remember running with =E2=80=99guix repl -q=E2=80=99 for avoiding spurious = ~/.guile configuration and I remember running =E2=80=9C./pre-inst-env guix pull -p /tmp/new=E2=80=9D and checking. Hum?! Anyway! My apologies. Back to the issue: 1. The patch does not tweak =E2=80=99guix repl script.scm=E2=80=99 but o= nly the interactive part =E2=80=93 which also has the issue, I guess. 2. The culprit seems (current-profile) which does not correctly load %package-module-path as the comment is suggesting, ;; This in turn ensures that ;; (%package-module-path) will contain entries for the channels ;; available in the current profile. Adding (gnu packages) as Josselin suggested but commenting (current-profile) make channels available both for scripts and interactive. For instance this patch works, which means something is buggy somewhere. --8<---------------cut here---------------start------------->8--- 1 file changed, 5 insertions(+), 2 deletions(-) guix/scripts/repl.scm | 7 +++++-- modified guix/scripts/repl.scm @@ -22,6 +22,7 @@ (define-module (guix scripts repl) #:use-module (guix ui) #:use-module (guix scripts) #:use-module (guix repl) + #:use-module (gnu packages) #:use-module (srfi srfi-1) #:use-module (srfi srfi-26) #:use-module (srfi srfi-37) @@ -193,7 +194,8 @@ (define script ;; 'set-program-arguments'. This in turn ensures that ;; (%package-module-path) will contain entries for the channels ;; available in the current profile. - (current-profile) + (pk 'script) + ;(current-profile) =20 (set-program-arguments script) (set-user-module) @@ -211,7 +213,8 @@ (define script ((guile) (save-module-excursion (lambda () - (current-profile) ;Run (%package-module-path) as explain= ed above. + (pk 'no-script) + ;(current-profile) ;Run (%package-= module-path) as explained above. (set-user-module) ;; Do not exit repl on SIGINT. ((@@ (ice-9 top-repl) call-with-sigint) --8<---------------cut here---------------end--------------->8--- Well, I have tried to debug by adding =E2=80=99pk=E2=80=99 around but I oft= en get error when =E2=80=9CComputing Guix derivation=E2=80=9D. Well, the test-error is = a long process here. :-) As discussed in #42688 [1], instead of 1b179d7876f19f04009a2f9e248ac10711f4c660, the plain call to (%package-module-path) =E2=80=93 instead of (current-profile) =E2=80=93 fix= es the issue. This patch works and avoids the full load of (gnu packages), I guess twice. :-) --8<---------------cut here---------------start------------->8--- 1 file changed, 3 insertions(+), 3 deletions(-) guix/scripts/repl.scm | 6 +++--- modified guix/scripts/repl.scm @@ -27,7 +27,7 @@ (define-module (guix scripts repl) #:use-module (srfi srfi-37) #:use-module (ice-9 match) #:use-module (rnrs bytevectors) - #:autoload (guix describe) (current-profile) + #:autoload (gnu packages) (%package-module-path) #:autoload (system repl repl) (start-repl) #:autoload (system repl server) (make-tcp-server-socket make-unix-domain-server-socket) @@ -193,7 +193,7 @@ (define script ;; 'set-program-arguments'. This in turn ensures that ;; (%package-module-path) will contain entries for the channels ;; available in the current profile. - (current-profile) + (%package-module-path) =20 (set-program-arguments script) (set-user-module) @@ -211,7 +211,7 @@ (define script ((guile) (save-module-excursion (lambda () - (current-profile) ;Run (%package-module-path) as explain= ed above. + (%package-module-path) (set-user-module) ;; Do not exit repl on SIGINT. ((@@ (ice-9 top-repl) call-with-sigint) --8<---------------cut here---------------end--------------->8--- 1: <https://issues.guix.gnu.org/issue/42688> Cheers, simon
bug-guix@HIDDEN
:bug#61343
; Package guix
.
Full text available.Received: (at 61343-done) by debbugs.gnu.org; 2 Mar 2023 13:44:34 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 02 08:44:34 2023 Received: from localhost ([127.0.0.1]:56184 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pXjEX-0004pA-TY for submit <at> debbugs.gnu.org; Thu, 02 Mar 2023 08:44:34 -0500 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:42277) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <andrew@HIDDEN>) id 1pXjEV-0004op-OR; Thu, 02 Mar 2023 08:44:32 -0500 Received: (Authenticated sender: andrew@HIDDEN) by mail.gandi.net (Postfix) with ESMTPSA id 55CA71C000E; Thu, 2 Mar 2023 13:44:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=trop.in; s=gm1; t=1677764665; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=eQDEKj0XDCsQW27lgqajcBlenTh37+6/ngHC2lWLLRI=; b=fG8GmOtrqWkIIi3HOk/o3Lh+tqfILt8VMWjzjJ3AHxQVdyxdzwpaOGMU2atv25yCFI4npb uuB3q02kSm6tf+147gYWkFF3A4n6nvszkpYl9xMOf0OqMPqe4PiuF6aZ3EOgGtQ3fF79Y5 1B8dTFyjnVe0ogcuiBzUOQNe+Es5kD2fWQXystsMbJU1VXQnuVDmOk+AugnfwnordyjX1S LpQ2G2xFrNDOC65kd+M/m75jz9sqbrxwkpWgRK3Vbwr/w78CGlrSAF6D40Fpk3w8hVUKLS KdtwGEwiIUbr4RjIW8PkoGkDTM0MeJamHfnDmSvWhMXGG7W9/NdRqzUzadACuw== From: Andrew Tropin <andrew@HIDDEN> To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>, Simon Tournier <zimon.toutoune@HIDDEN> Subject: Re: bug#61343: bug#61574: [PATCH v2] scripts: repl: Extend REPL %load-path with all channels. In-Reply-To: <87sferky1k.fsf@HIDDEN> References: <e0ffbcbb07fe41a04688223342461aa4d3310142.1676582046.git.dev@HIDDEN> <20230217145627.85062-1-zimon.toutoune@HIDDEN> <87sferky1k.fsf@HIDDEN> Date: Thu, 02 Mar 2023 17:44:20 +0400 Message-ID: <87o7pbs1xn.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 61343-done Cc: Josselin Poiret <dev@HIDDEN>, 61343-done <at> debbugs.gnu.org, 61574-done <at> debbugs.gnu.org, iyzsong@HIDDEN 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.7 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2023-02-27 15:01, Ludovic Court=C3=A8s wrote: > Hi Simon, > > Simon Tournier <zimon.toutoune@HIDDEN> skribis: > >> Fixes <https://bugs.gnu.org/61343>. >> Reported by =E5=AE=8B=E6=96=87=E6=AD=A6 <iyzsong@HIDDEN>. >> >> * guix/scripts/repl.scm (define-command): Before starting the REPL, >> run (current-profile) which makes available all channels. > > [...] > >> +++ b/guix/scripts/repl.scm >> @@ -211,6 +211,7 @@ (define script >> ((guile) >> (save-module-excursion >> (lambda () >> + (current-profile) ;Run (%package-module-path) as expl= ained above. > > I tweaked the comment :-) and applied. > > Thanks! Hi Simon and Ludo! Thank you for the patch, I also faced this problem and it seems this change doesn't fix it. echo '(use-modules (rde features))' | guix repl /dev/stdin still fails on a7763e067d86908210758aab80d33e4f8b815b1c. =2D-=20 Best regards, Andrew Tropin --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEKEGaxlA4dEDH6S/6IgjSCVjB3rAFAmQAqDQACgkQIgjSCVjB 3rDE6A//axSFCBoXmlCd7bxMl8moMOE19oPSgDYEJ7Ms5NuGSwpSuVctJHJy5Xf4 L7gdFMv5LZ8My8lJ3CsaYkpOXU1pl1wSqAp1zm+b5i7ORffqx/QBEknJeRBFv9d/ nElIWkIlgkg1d0CDs34afomcVy85CCpZ0IXq82aiTi3WXRwlftqevClxPScws8/P /B/HCPe45TCxgkFycdJDckM2WhOHvhCp8oZZmZa5jDzOmamr9vj/ZXA/oySueC3u fuLfaHKReT9+r4al92KGGjow0ezHZVzxV27ZHIRQD2ZUAomvlwV/yL1BNg590MIM p/6i/wGvLMlUbugFyJuHU0Xu/ge71JxCsm3kV2qBGzBFJAeaj+/Z47frLsyxWQTx +cILD5AHwtTXyFoOGK+F9gLeCU8FNEQRBtlbgfLMjkin7aQBUPFDGOgMpXGAVpfI PYprUfVTyrE49uv68z58DXocnQsJ2Sx5BrSbxMtcXizbx2XBsX9Cr+1KNMZ5jLHy VWUHJHJETDrOvdQOhHumPVF8EWZ0SnMXtxgeMUaDmQQriHQuhvAxNWhUkHOlHOOl vLXQVPs+wS7GEZhP3eJX3DUrvvUkeTVtsnswDQUS2wX6rs/ujKaSDhK9c0nCcRkt hbO8STr6XgKrPxeoRjtMohp198MBsW0aFcLpjhUreswSD3W8z5U= =BP2f -----END PGP SIGNATURE----- --=-=-=--
bug-guix@HIDDEN
:bug#61343
; Package guix
.
Full text available.Received: (at 61343-done) by debbugs.gnu.org; 27 Feb 2023 14:01:39 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 27 09:01:39 2023 Received: from localhost ([127.0.0.1]:46408 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pWe4R-0001Yz-1Q for submit <at> debbugs.gnu.org; Mon, 27 Feb 2023 09:01:39 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38130) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1pWe4O-0001Yg-PB; Mon, 27 Feb 2023 09:01:38 -0500 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 1pWe4H-0007aw-Ku; Mon, 27 Feb 2023 09:01:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=N8s40hS3Lzdbj1msrtIiAa2Gmd8bNWUz+3rWGH3Ko3Q=; b=D59OxAfLOaLivHy4mH61 VIKFET5nQ/YtaB6u8IKuojdogFw9FW2bsnLfcsFsrdruB0MBxyGB2DxFxmFFq14BwaWNjZoKHkbc7 0sdTjpYa1SmIsMk7GHyCKBRPxz+wGxDEMsskedbTzILa7vp0WGRsssKkUR5EsSIGjC0unynNYs+tW /NJ2qutXQ45HCGDw+gcQLRwztNhMlzlCwbJH6Gk8mE5r1vY/dK5NkNkrI8jv2MCKF72MfXCo1Zut+ cPgwglBJRzXvK4aP/DUonmRU2fYl4qmkfypQqRLYemvCmg5Paf7cyUKXS3YMBKWYhTRLXhqh6Z3Gh e1Mhqp2nRaFNPw==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1pWe41-0002n1-KD; Mon, 27 Feb 2023 09:01:27 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN> To: Simon Tournier <zimon.toutoune@HIDDEN> Subject: Re: bug#61574: [PATCH v2] scripts: repl: Extend REPL %load-path with all channels. References: <e0ffbcbb07fe41a04688223342461aa4d3310142.1676582046.git.dev@HIDDEN> <20230217145627.85062-1-zimon.toutoune@HIDDEN> Date: Mon, 27 Feb 2023 15:01:11 +0100 In-Reply-To: <20230217145627.85062-1-zimon.toutoune@HIDDEN> (Simon Tournier's message of "Fri, 17 Feb 2023 15:56:27 +0100") Message-ID: <87sferky1k.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) 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: 61343-done Cc: Josselin Poiret <dev@HIDDEN>, 61574-done <at> debbugs.gnu.org, 61343-done <at> debbugs.gnu.org, iyzsong@HIDDEN 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 (---) Hi Simon, Simon Tournier <zimon.toutoune@HIDDEN> skribis: > Fixes <https://bugs.gnu.org/61343>. > Reported by =E5=AE=8B=E6=96=87=E6=AD=A6 <iyzsong@HIDDEN>. > > * guix/scripts/repl.scm (define-command): Before starting the REPL, > run (current-profile) which makes available all channels. [...] > +++ b/guix/scripts/repl.scm > @@ -211,6 +211,7 @@ (define script > ((guile) > (save-module-excursion > (lambda () > + (current-profile) ;Run (%package-module-path) as expla= ined above. I tweaked the comment :-) and applied. Thanks! Ludo=E2=80=99.
Simon Tournier <zimon.toutoune@HIDDEN>
:Ludovic Courtès <ludo@HIDDEN>
:Received: (at 61343-done) by debbugs.gnu.org; 27 Feb 2023 14:01:39 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 27 09:01:39 2023 Received: from localhost ([127.0.0.1]:46408 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pWe4R-0001Yz-1Q for submit <at> debbugs.gnu.org; Mon, 27 Feb 2023 09:01:39 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38130) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1pWe4O-0001Yg-PB; Mon, 27 Feb 2023 09:01:38 -0500 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 1pWe4H-0007aw-Ku; Mon, 27 Feb 2023 09:01:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=N8s40hS3Lzdbj1msrtIiAa2Gmd8bNWUz+3rWGH3Ko3Q=; b=D59OxAfLOaLivHy4mH61 VIKFET5nQ/YtaB6u8IKuojdogFw9FW2bsnLfcsFsrdruB0MBxyGB2DxFxmFFq14BwaWNjZoKHkbc7 0sdTjpYa1SmIsMk7GHyCKBRPxz+wGxDEMsskedbTzILa7vp0WGRsssKkUR5EsSIGjC0unynNYs+tW /NJ2qutXQ45HCGDw+gcQLRwztNhMlzlCwbJH6Gk8mE5r1vY/dK5NkNkrI8jv2MCKF72MfXCo1Zut+ cPgwglBJRzXvK4aP/DUonmRU2fYl4qmkfypQqRLYemvCmg5Paf7cyUKXS3YMBKWYhTRLXhqh6Z3Gh e1Mhqp2nRaFNPw==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1pWe41-0002n1-KD; Mon, 27 Feb 2023 09:01:27 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN> To: Simon Tournier <zimon.toutoune@HIDDEN> Subject: Re: bug#61574: [PATCH v2] scripts: repl: Extend REPL %load-path with all channels. References: <e0ffbcbb07fe41a04688223342461aa4d3310142.1676582046.git.dev@HIDDEN> <20230217145627.85062-1-zimon.toutoune@HIDDEN> Date: Mon, 27 Feb 2023 15:01:11 +0100 In-Reply-To: <20230217145627.85062-1-zimon.toutoune@HIDDEN> (Simon Tournier's message of "Fri, 17 Feb 2023 15:56:27 +0100") Message-ID: <87sferky1k.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) 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: 61343-done Cc: Josselin Poiret <dev@HIDDEN>, 61574-done <at> debbugs.gnu.org, 61343-done <at> debbugs.gnu.org, iyzsong@HIDDEN 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 (---) Hi Simon, Simon Tournier <zimon.toutoune@HIDDEN> skribis: > Fixes <https://bugs.gnu.org/61343>. > Reported by =E5=AE=8B=E6=96=87=E6=AD=A6 <iyzsong@HIDDEN>. > > * guix/scripts/repl.scm (define-command): Before starting the REPL, > run (current-profile) which makes available all channels. [...] > +++ b/guix/scripts/repl.scm > @@ -211,6 +211,7 @@ (define script > ((guile) > (save-module-excursion > (lambda () > + (current-profile) ;Run (%package-module-path) as expla= ined above. I tweaked the comment :-) and applied. Thanks! Ludo=E2=80=99.
宋文武 <iyzsong@HIDDEN>
:Ludovic Courtès <ludo@HIDDEN>
:Received: (at 61343) by debbugs.gnu.org; 17 Feb 2023 17:16:15 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 17 12:16:15 2023 Received: from localhost ([127.0.0.1]:41455 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pT4LH-0008Tn-9G for submit <at> debbugs.gnu.org; Fri, 17 Feb 2023 12:16:15 -0500 Received: from mail-wm1-f43.google.com ([209.85.128.43]:41499) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <zimon.toutoune@HIDDEN>) id 1pT4LF-0008TR-2A for 61343 <at> debbugs.gnu.org; Fri, 17 Feb 2023 12:16:13 -0500 Received: by mail-wm1-f43.google.com with SMTP id z1-20020a1c4c01000000b003e206711347so1380840wmf.0 for <61343 <at> debbugs.gnu.org>; Fri, 17 Feb 2023 09:16:13 -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=Qkic+m8vdpPasElEZM8/GNTr3aXW5EX97CBIdMH0LtY=; b=cdB08+aTIGuM8asLBAtWOw8RNVvOCu5YVQkMQwyw+D+fyn2eWdUlSQSeNa9Zf9yN+4 /2Bd/7og44A8CUwl0iiTJGfdNGPMjkTDWt81WJ46BGyZ4CjaOKj9IECaccdlI3gxICFy 19OVkMOT8VWVTv3AEQIC0+7GXmFfQ7lQetRe9s9+AfnmG/wXpJCaHLYbP65bA41JPtQl zIW9GJVSGk66xrQlGCx8DU1Fx7mKn/VyrqrX+jJJ1xfJKxNXSG3/2V1MBJOLUrqScd1o bsRkd4H54tfEjO29ofu3tvsKwbTMz+MKx2t4qua58EL/Symhb/ycCkCbTPwP8P0QNa5a bvVA== 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=Qkic+m8vdpPasElEZM8/GNTr3aXW5EX97CBIdMH0LtY=; b=yKUzLIDRYgXnQ32hAZ+NW4taw/3Ugp9Wu/Lm5UJ2kLeHyaLNLTUt92XU0UFZ875yc1 6KWBXv1SgjnuCgAQOHvLL3UOPW0EHKiRQQ8KjUgV+aXMCiuAF3kKS7BeAFTifaZO9752 Up9ePu2tw72qkll4nMbilLJiK1C+3hKpwhRBDyCq/AMeHuAfrv+l8TDRZ1cjbgji+Gb9 L2kvxMalDQsUDPJo5u6EbEZbt3njkPGf2FphIfL/rd+1+dZ5CuEtXykTxWFhdNJMin1z DwAQH5CStMh1ACaEXqyFnOcXqJL9EVYgehmaB0PToyDyAo/0llSvFw6wONL3lJFUQFlh C49w== X-Gm-Message-State: AO0yUKVhXDf6T5bto1FbZeFRQM6RifCtKesCbEXbOK25SJ54njlBHejD z3waEFDNQJ4jONNUx/N/L8I= X-Google-Smtp-Source: AK7set9B9LbQoinJib5qu6R2leWGX6HfBRK/zki3DJ2XtTz67exhX3PSleJS1/g75MUWwggVqivA5A== X-Received: by 2002:a7b:c3cb:0:b0:3e2:dbb:5627 with SMTP id t11-20020a7bc3cb000000b003e20dbb5627mr5732669wmj.3.1676654167108; Fri, 17 Feb 2023 09:16:07 -0800 (PST) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id j26-20020a05600c1c1a00b003df245cd853sm6329040wms.44.2023.02.17.09.16.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 09:16:06 -0800 (PST) From: Simon Tournier <zimon.toutoune@HIDDEN> To: =?utf-8?B?5a6L5paH5q2m?= <iyzsong@HIDDEN>, 61343 <at> debbugs.gnu.org, Josselin Poiret <dev@HIDDEN> Subject: Re: bug#61343: [PATCH] scripts: repl: Load (gnu packages) to set up %load-path. In-Reply-To: <e0ffbcbb07fe41a04688223342461aa4d3310142.1676582046.git.dev@HIDDEN> References: <87zg9gxda2.fsf@HIDDEN> <e0ffbcbb07fe41a04688223342461aa4d3310142.1676582046.git.dev@HIDDEN> Date: Fri, 17 Feb 2023 16:21:37 +0100 Message-ID: <87h6vk5ncu.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: 61343 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 Josselin, To send my comment as v2, I did: git send-email --to=3D"Josselin Poiret via Bug reports for GNU Guix <bu= g-guix@HIDDEN>" \ --to=3D"Simon Tournier <zimon.toutoune@HIDDEN>" = \ --to=3D"=E5=AE=8B=E6=96=87=E6=AD=A6 <iyzsong@HIDDEN>" = \ --to=3D"61343 <at> debbugs.gnu.org" = \ --cc=3D"Josselin Poiret <dev@HIDDEN>" = \ --in-reply-to=3D"e0ffbcbb07fe41a04688223342461aa4d3310142.167658204= 6.git.dev@HIDDEN" \ v2-0001-scripts-repl-Extend-REPL-load-path-with-all-chann.patch well, the keys =E2=80=99cG=E2=80=99 from Emacs-Notmuch. ;-) The issue is that it triggers a new issue number (that I have merged) because of, "Josselin Poiret via Bug reports for GNU Guix <bug-guix@HIDDEN>" Well, I am always confused by some Debbugs internals; I thought that =E2=80=99in-reply-to=E2=80=99 would be enough to avoid the creation of a ne= w issue. Hum? Therefore, my questions are: how do you reply? And if someone could explain me: Why is Debbugs confused with this remaining <bug-guix@HIDDEN>? Cheers, simon
bug-guix@HIDDEN
:bug#61343
; Package guix
.
Full text available.Simon Tournier <zimon.toutoune@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 61343) by debbugs.gnu.org; 17 Feb 2023 14:56:43 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 17 09:56:43 2023 Received: from localhost ([127.0.0.1]:40984 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pT2AF-0007xg-31 for submit <at> debbugs.gnu.org; Fri, 17 Feb 2023 09:56:43 -0500 Received: from mail-wr1-f52.google.com ([209.85.221.52]:44837) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <zimon.toutoune@HIDDEN>) id 1pT2A9-0007xN-0O for 61343 <at> debbugs.gnu.org; Fri, 17 Feb 2023 09:56:37 -0500 Received: by mail-wr1-f52.google.com with SMTP id ba10so915768wrb.11 for <61343 <at> debbugs.gnu.org>; Fri, 17 Feb 2023 06:56:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1676645791; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=A2LCfKH/5SaXcgXYU5U98B32MLZGfXffUG43avL/JL0=; b=WF3Abz6tSwAF5kOefetkQqeil88+496hj3lnvkgDURqoVSOO6lVI7ofG8i7KBGgE2q vpzeyausQYiMOs92FCyfxDxpcjhPrzZvAHzrnsXewLJquPLv6P30FOY84V+MZ2RaKRPp 020ZZsH/5I3Wmyw2ms1Eh6wJ9fw5jjrIPjPrBMtEs/JdftKxyS6c/oC5Ou5MvjfHXiL9 h7Uk4ZTXSpZIwQ4AaBYGBXEG/q4dj4kkCGvwl1zV0rFl0QDFxi6y3kkvMMlLGpTvPnyq gxIwKZkSQKMo2zn6uwrNftezoxZ+c/T5nX2lexXOuYNv9qd8pfNAFHtBa1RvvqrU6DHt gBHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1676645791; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=A2LCfKH/5SaXcgXYU5U98B32MLZGfXffUG43avL/JL0=; b=IgPoTolflYAei9X7BMI1Tcm38TgMb9rz+syexRTM3AzDgvGOJ5LBqO9ukowOOZi6eH /89BmmSEhJjTwazOWU2xHIOaeuihh1lIXvZx++OF/I/nFZNTYggWs7pm9xMigO34dl0g GtCca/zmyUEkyCKcTlgY65g/JhAFz1x/4H9dYrJep6pAAaZl2TxjxYG8CeZ3q+vL3lx7 G09wZiD05vvtDoOxVs9HJpMsnrnKPSpwmmrIKLw41S0WxF8V9wdDJino3byD9b/51xT3 Hr2BBEB6n4VCd961Vawew8Sb+xKI+2Ocw4uKpul/RXoKAyoaqARZupP+aPi/gGUvW/3V 70BQ== X-Gm-Message-State: AO0yUKXGR+YFBFM1T4xfoDRvaE25PLCp4QnTkyKpMhZOhYbJ8iXfTbSy DQZkIYfw2bjjLxgWAw0JIcc= X-Google-Smtp-Source: AK7set+c5uR0SkGEEZxF3SM9DCrRqp6s1Ctsk1v5+CGFqUy2KgO5msr7SSEyr2a8bFSaNmwKw6Hhng== X-Received: by 2002:a5d:504c:0:b0:2c5:5e37:653a with SMTP id h12-20020a5d504c000000b002c55e37653amr810258wrt.7.1676645790705; Fri, 17 Feb 2023 06:56:30 -0800 (PST) Received: from localhost.localdomain ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id j2-20020adfea42000000b002c5804b6afasm4495839wrn.67.2023.02.17.06.56.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 06:56:30 -0800 (PST) From: Simon Tournier <zimon.toutoune@HIDDEN> To: Josselin Poiret via Bug reports for GNU Guix <bug-guix@HIDDEN>, Simon Tournier <zimon.toutoune@HIDDEN>, =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= <iyzsong@HIDDEN>, 61343 <at> debbugs.gnu.org Subject: [PATCH v2] scripts: repl: Extend REPL %load-path with all channels. Date: Fri, 17 Feb 2023 15:56:27 +0100 Message-Id: <20230217145627.85062-1-zimon.toutoune@HIDDEN> X-Mailer: git-send-email 2.38.1 In-Reply-To: <e0ffbcbb07fe41a04688223342461aa4d3310142.1676582046.git.dev@HIDDEN> References: <e0ffbcbb07fe41a04688223342461aa4d3310142.1676582046.git.dev@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61343 Cc: Josselin Poiret <dev@HIDDEN> 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 (-) Fixes <https://bugs.gnu.org/61343>. Reported by 宋文武 <iyzsong@HIDDEN>. * guix/scripts/repl.scm (define-command): Before starting the REPL, run (current-profile) which makes available all channels. --- Hi, Instead I am proposing this, it avoids to load all the module. For testing, once applied to some Guix checkout, just run: $ ./pre-inst-env guix pull --disable-authentication -C /tmp/channels.scm -p /tmp/new $ echo '(use-modules (rde features))' | /tmp/new/bin/guix repl /dev/stdin where /tmp/channels.scm reads, (list (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")))) (channel (name 'guix) (url "/home/simon/src/guix/guix"))) tweaking the path to your Guix checkout. Cheers, simon guix/scripts/repl.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/guix/scripts/repl.scm b/guix/scripts/repl.scm index 787c63d48e..fc55d79c41 100644 --- a/guix/scripts/repl.scm +++ b/guix/scripts/repl.scm @@ -211,6 +211,7 @@ (define script ((guile) (save-module-excursion (lambda () + (current-profile) ;Run (%package-module-path) as explained above. (set-user-module) ;; Do not exit repl on SIGINT. ((@@ (ice-9 top-repl) call-with-sigint) base-commit: cb45e9d0dc6cbe6f69a858f71252411610b4ce82 -- 2.38.1
bug-guix@HIDDEN
:bug#61343
; Package guix
.
Full text available.Received: (at 61343) by debbugs.gnu.org; 17 Feb 2023 03:10:05 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 16 22:10:05 2023 Received: from localhost ([127.0.0.1]:38145 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pSr8O-0001B7-RR for submit <at> debbugs.gnu.org; Thu, 16 Feb 2023 22:10:05 -0500 Received: from mail.envs.net ([5.199.136.28]:52668) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <iyzsong@HIDDEN>) id 1pSr8N-0001Av-2V for 61343 <at> debbugs.gnu.org; Thu, 16 Feb 2023 22:10:04 -0500 Received: from localhost (mail.envs.net [127.0.0.1]) by mail.envs.net (Postfix) with ESMTP id 55A4838A07D1; Fri, 17 Feb 2023 03:09:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=envs.net; s=modoboa; t=1676603399; bh=+QJPbo6m9EGkGmt2tJmTVY2C1zENXtqFSBRF0LuX4hc=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=fr/84h45d1AcFpjdUF9NmUFq0QaFeDMR7UkJ5JVR6DKpPmdMAlfDZqHbT76pGcXTZ sZhNjxdl1OQNEMbO3DMfgabO6iP3Bb4GF/epzSui0fBh4K0KRf3uQVvEaICbTOz+Sk iKFDNoQa+ltQQ5tqmQo1mYq7YEKvXOWkpHo92obxOogRRap2F5yzjIZXy0JQUCoX4j gCpkX5j+0xIJnb+oK7cXHtkBg/hnRP4tZyyCpeG5RyDwQLKJRMCmA5DLJ/6tD3ROTv sA0tEOUSk6riCXOzpXOYuvTXDU6IAX32bwD+cdA2BhZRGun0PjZQzVBiStKltsuRVd QAR2oiMhvJQ/WN3p977wg/eqzViqXsonjHtjKlFBoLwUMoVgls42PwaqMC2k8pPr6o h/n36jv0En7LAPPuSvNDOITdXUxn47JGM3n6U2cXsijnFDRDtjp3HySAU6BgX0RxDE gYaPSgP2HdWZQ3bVoyHsg5zhExuySqlbwW+tblJqIl+OeqVE/iMSxTx8SoJWOmtNUY JKlgF/lePK+pdEbQh5YyGB1s1eq33vzAvErcVpl84D//ghLumBl89BIOfCdD4z4KqW yDue0aqtGouMRGw4xbkdKyDh/AmeWL3mbIAzFhikApYTOomBeGCv0nj79lsrTvBkm8 uptcC1VrX4gr37D/ouaHWuQo= X-Virus-Scanned: Debian amavisd-new at mail.envs.net Received: from mail.envs.net ([127.0.0.1]) by localhost (mail.envs.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id dD_A2fM85DAS; Fri, 17 Feb 2023 03:09:53 +0000 (UTC) Received: from localhost (unknown [182.150.116.135]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.envs.net (Postfix) with ESMTPSA; Fri, 17 Feb 2023 03:09:53 +0000 (UTC) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 73f4d1b3; Fri, 17 Feb 2023 03:09:53 +0000 (UTC) From: =?utf-8?B?5a6L5paH5q2m?= <iyzsong@HIDDEN> To: Josselin Poiret <dev@HIDDEN> Subject: Re: [PATCH] scripts: repl: Load (gnu packages) to set up %load-path. References: <87zg9gxda2.fsf@HIDDEN> <e0ffbcbb07fe41a04688223342461aa4d3310142.1676582046.git.dev@HIDDEN> Date: Fri, 17 Feb 2023 11:09:53 +0800 In-Reply-To: <e0ffbcbb07fe41a04688223342461aa4d3310142.1676582046.git.dev@HIDDEN> (Josselin Poiret's message of "Thu, 16 Feb 2023 22:14:49 +0100") Message-ID: <87cz69ugvy.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61343 Cc: 61343 <at> debbugs.gnu.org, Simon Tournier <zimon.toutoune@HIDDEN> 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 (-) Josselin Poiret <dev@HIDDEN> writes: > * guix/scripts/repl.scm: Add (gnu packages) to the used modules so that channel > Scheme files are available straight away. > --- > Hi both of you, > > I don't think there's a reason for that, other than no one realizing before. > Here's a simple fix, freshly tested. > > guix/scripts/repl.scm | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/guix/scripts/repl.scm b/guix/scripts/repl.scm > index 787c63d48e..407f5b2b38 100644 > --- a/guix/scripts/repl.scm > +++ b/guix/scripts/repl.scm > @@ -22,6 +22,7 @@ (define-module (guix scripts repl) > #:use-module (guix ui) > #:use-module (guix scripts) > #:use-module (guix repl) > + #:use-module (gnu packages) ;; To extend %load-path with channels It's not clear to me why load (gnu packages) will/should extend %load-path, a suprise side effect!
bug-guix@HIDDEN
:bug#61343
; Package guix
.
Full text available.Received: (at 61343) by debbugs.gnu.org; 16 Feb 2023 21:15:01 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 16 16:15:01 2023 Received: from localhost ([127.0.0.1]:37794 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pSlam-0007zU-VM for submit <at> debbugs.gnu.org; Thu, 16 Feb 2023 16:15:01 -0500 Received: from jpoiret.xyz ([206.189.101.64]:43830) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <dev@HIDDEN>) id 1pSlak-0007zD-EC for 61343 <at> debbugs.gnu.org; Thu, 16 Feb 2023 16:15:00 -0500 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id C588A185318; Thu, 16 Feb 2023 21:14:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1676582095; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=m7gvnhsOoc6/kxheg94gcTO2ELWAQLXCvr5bOkVpC/0=; b=Ke0jHZrpW7VBKpLoFagD53SRZeVnpFvFKx0K9Y50xxrMWDOJDtHSH0t8EXzFM3ggzAJfAK o0E5I6Lcp2bbwKme5cgtLgf624QvSI2XB6OWjxc4b5m5Zt1zMqF1NnGg75ZTOZyMMJdp/D rOeXJgpZdh0guQQI1sTZumJYcBBzHHSDcU1I/QY+xUVeprtkvJBZKhclNxHRz9A+l/XI7v lt/HUznixt4UWs4avEgWiXlcSV4l5YYz3AJsnc1x8fhXb+w8rmQ0XtlV+UzJNMAwDuactg bFvDIGQPQ8dZnrYRr53j71bOLa8PLPH/qBj5EHQY/toURM0HhXJmVz4lJvU63A== From: Josselin Poiret <dev@HIDDEN> To: Simon Tournier <zimon.toutoune@HIDDEN>, =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= <iyzsong@HIDDEN>, 61343 <at> debbugs.gnu.org Subject: [PATCH] scripts: repl: Load (gnu packages) to set up %load-path. Date: Thu, 16 Feb 2023 22:14:49 +0100 Message-Id: <e0ffbcbb07fe41a04688223342461aa4d3310142.1676582046.git.dev@HIDDEN> In-Reply-To: <87zg9gxda2.fsf@HIDDEN> References: <87zg9gxda2.fsf@HIDDEN> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Authentication-Results: jpoiret.xyz; auth=pass smtp.auth=jpoiret@HIDDEN smtp.mailfrom=dev@HIDDEN X-Spam-Level: ****** X-Spamd-Bar: ++++++ X-Spam: Yes X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61343 Cc: Josselin Poiret <dev@HIDDEN> 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 (-) * guix/scripts/repl.scm: Add (gnu packages) to the used modules so that channel Scheme files are available straight away. --- Hi both of you, I don't think there's a reason for that, other than no one realizing before. Here's a simple fix, freshly tested. guix/scripts/repl.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/guix/scripts/repl.scm b/guix/scripts/repl.scm index 787c63d48e..407f5b2b38 100644 --- a/guix/scripts/repl.scm +++ b/guix/scripts/repl.scm @@ -22,6 +22,7 @@ (define-module (guix scripts repl) #:use-module (guix ui) #:use-module (guix scripts) #:use-module (guix repl) + #:use-module (gnu packages) ;; To extend %load-path with channels #:use-module (srfi srfi-1) #:use-module (srfi srfi-26) #:use-module (srfi srfi-37) base-commit: 312f1f41d3f3f3e5d2c36ff46920c6dce1c21a17 -- 2.39.1
bug-guix@HIDDEN
:bug#61343
; Package guix
.
Full text available.Received: (at 61343) by debbugs.gnu.org; 14 Feb 2023 19:25:21 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 14 14:25:21 2023 Received: from localhost ([127.0.0.1]:57015 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pS0vZ-0002Tr-BO for submit <at> 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 <zimon.toutoune@HIDDEN>) id 1pS0vU-0002Su-Kd for 61343 <at> 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 <at> 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 <zimon.toutoune@HIDDEN> To: =?utf-8?B?5a6L5paH5q2m?= <iyzsong@HIDDEN>, 61343 <at> debbugs.gnu.org Subject: Re: bug#61343: modules from channels is not available to "guix repl" In-Reply-To: <87k00tlul8.fsf@HIDDEN> References: <87k00tlul8.fsf@HIDDEN> Date: Tue, 14 Feb 2023 20:22:45 +0100 Message-ID: <87zg9gxda2.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: 61343 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 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 <bug-guix@HIDDEN> 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
bug-guix@HIDDEN
:bug#61343
; Package guix
.
Full text available.Received: (at submit) by debbugs.gnu.org; 7 Feb 2023 08:59:15 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 07 03:59:15 2023 Received: from localhost ([127.0.0.1]:51053 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pPJop-0006cX-DH for submit <at> debbugs.gnu.org; Tue, 07 Feb 2023 03:59:15 -0500 Received: from lists.gnu.org ([209.51.188.17]:52642) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <iyzsong@HIDDEN>) id 1pPJon-0006cP-Bl for submit <at> debbugs.gnu.org; Tue, 07 Feb 2023 03:59:13 -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 <iyzsong@HIDDEN>) id 1pPJon-0001db-2k for bug-guix@HIDDEN; Tue, 07 Feb 2023 03:59:13 -0500 Received: from mail.envs.net ([5.199.136.28]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <iyzsong@HIDDEN>) id 1pPJok-0006mi-Ti for bug-guix@HIDDEN; Tue, 07 Feb 2023 03:59:12 -0500 Received: from localhost (mail.envs.net [127.0.0.1]) by mail.envs.net (Postfix) with ESMTP id ED0A338A04F1 for <bug-guix@HIDDEN>; Tue, 7 Feb 2023 08:59:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=envs.net; s=modoboa; t=1675760340; bh=rNUZ8wdqngL5ihbI2i6ES0T+wjNZErv+wRUCm1ND32Y=; h=From:To:Subject:Date:From; b=XBAKJ6IpUaoZPYEqWlAriR33jHAmginAE6U/XZCzUeMYnTH40I3Wd2EVUyYRvA5RB qsct36t0YJi1JmkvtlC5x5EeLzxdsZGngo++r+Tdy/yUsQm5NNUmppYlI71+dMZ9bP x89PM4+QuCqmo9QGefEUHZzpYYE0xfAapTUvpvuL/5cGS4QVZpjJIsXM+mk6pcMum7 c5FDUoUQnyIsHP2hy9uj5TbEqL/vGEN7/L/hkSydEump/QXr7iKJ95pvZiP1XiPLAn m4soGI2tOaWDM4+0ARkHJWIm83lWuze5UeEUM5fgvzVQDmquEfO/z9Vaaas/kOhNY/ 8Dwj3BHVWV2iSsdzislSOhkvTklZ8IUmPFIDvlRFI7hVnfmlnFnxzi0UwpHA13q4Zb pfKBGoR4b1ETrHP4YTHdYfHolITc9haVcoDvhqHUtDaEIjIuLec+JcIDyi4svpcO4q 1Eoq1oNaFLqtswgNZpToacxe5rrAIyja2uOF8AQKdNzj8MbkVXPFy3wlP25LgvA3J5 5BJ/SLHod2fYe7TTKZY4ZvwtnLGdzOWv5tgcVVTEcLKgZr3bmyI5pENHFNPR/iflVh t4Y5VrBby4Sth1rW1jrDPNlvZ4bASrloQup02HRP+yqArELa7BLMRiZdD2BUURdRW7 vHV+5dcI9yeZ2lY/p6sN/5u8= X-Virus-Scanned: Debian amavisd-new at mail.envs.net Received: from mail.envs.net ([127.0.0.1]) by localhost (mail.envs.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Y37BBRhblrM5 for <bug-guix@HIDDEN>; Tue, 7 Feb 2023 08:58:58 +0000 (UTC) Received: from localhost (unknown [182.150.116.135]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.envs.net (Postfix) with ESMTPSA for <bug-guix@HIDDEN>; Tue, 7 Feb 2023 08:58:58 +0000 (UTC) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id e2045277 for <bug-guix@HIDDEN>; Tue, 7 Feb 2023 08:59:15 +0000 (UTC) From: =?utf-8?B?5a6L5paH5q2m?= <iyzsong@HIDDEN> To: bug-guix@HIDDEN Subject: modules from channels is not available to "guix repl" Date: Tue, 07 Feb 2023 16:59:15 +0800 Message-ID: <87k00tlul8.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=5.199.136.28; envelope-from=iyzsong@HIDDEN; helo=mail.envs.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) 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: -2.4 (--) I have add the rde channel to my guix, and "guix pull". --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/stdin Will pass!
宋文武 <iyzsong@HIDDEN>
:bug-guix@HIDDEN
.
Full text available.bug-guix@HIDDEN
:bug#61343
; Package guix
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.