GNU bug report logs -
#58841
repl ignores modules from the channel added to time-machine
Previous Next
To reply to this bug, email your comments to 58841 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#58841
; Package
guix
.
(Fri, 28 Oct 2022 16:28:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
"alexander barakin (aka sash-kan)" <alex <at> barak.in>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Fri, 28 Oct 2022 16:28:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/html, inline)]
[report.txt (text/plain, attachment)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#58841
; Package
guix
.
(Fri, 28 Oct 2022 18:29:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 58841 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
explanation:
## current configuration:
$ guix describe --format=channels
(list (channel
(name 'guix)
(url "https://git.savannah.gnu.org/git/guix.git")
(branch "master")
(commit
"a0751e3250dfea7e52468c8090e18c3118d93a60")
(introduction
(make-channel-introduction
"9edb3f66fd807b096b48283debdcddccfea34bad"
(openpgp-fingerprint
"BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA")))))
## add guix-hpc channel (for illustration purposes only; you can use any other channel):
$ cat channels.scm
(list
(channel
(name 'guix-hpc)
(url "https://gitlab.inria.fr/guix-hpc/guix-hpc.git"))
(channel
(name 'guix)
(url "https://git.savannah.gnu.org/git/guix.git")
(branch "master")
(commit
"a0751e3250dfea7e52468c8090e18c3118d93a60")
(introduction
(make-channel-introduction
"9edb3f66fd807b096b48283debdcddccfea34bad"
(openpgp-fingerprint
"BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA")))))
## both channels - guix and guix-hpc - are available:
$ guix time-machine --channels=channels.scm -- describe
guix a0751e3
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: a0751e3250dfea7e52468c8090e18c3118d93a60
guix-hpc 1a6af9f
repository URL: https://gitlab.inria.fr/guix-hpc/guix-hpc.git
branch: master
commit: 1a6af9f0154f57dc5a31bf535bb09db63e3a8d03
## but repl does not see guix-hpc modules:
$ guix time-machine --channels=channels.scm -- repl
...
scheme@(guix-user)> (use-modules (airbus solvers))
While compiling expression:
no code for module (airbus solvers)
scheme@(guix-user)> %load-path
$1 = ("/gnu/store/dfm3k2qc0s4f8vi5il3gvrr0650p65k3-guix-module-union/share/guile/site/3.0" "/gnu/store/1jgcbdzx2ss6xv59w55g3kr3x4935dfb-guile-3.0.8/share/guile/3.0" "/gnu/store/1jgcbdzx2ss6xv59w55g3kr3x4935dfb-guile-3.0.8/share/guile/3.0" "/gnu/store/1jgcbdzx2ss6xv59w55g3kr3x4935dfb-guile-3.0.8/share/guile/site/3.0" "/gnu/store/1jgcbdzx2ss6xv59w55g3kr3x4935dfb-guile-3.0.8/share/guile/site" "/gnu/store/1jgcbdzx2ss6xv59w55g3kr3x4935dfb-guile-3.0.8/share/guile" "/home/user/.guix-profile/share/guile/site/3.0" "/home/user/.guix-profile/share/guile/site/3.0")
--
wbr, alexander barakin aka sash-kan.
--
i will be very thankful to you if you will use order,
that natural for the human:
first question, then the answer.
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#58841
; Package
guix
.
(Sat, 05 Nov 2022 10:32:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 58841 <at> debbugs.gnu.org (full text, mbox):
Hi Alexander,
"alexander barakin (aka sash-kan)" <alex <at> barak.in> skribis:
> ## but repl does not see guix-hpc modules:
> $ guix time-machine --channels=channels.scm -- repl
> ...
> scheme@(guix-user)> (use-modules (airbus solvers))
> While compiling expression:
> no code for module (airbus solvers)
> scheme@(guix-user)> %load-path
> $1 = ("/gnu/store/dfm3k2qc0s4f8vi5il3gvrr0650p65k3-guix-module-union/share/guile/site/3.0" "/gnu/store/1jgcbdzx2ss6xv59w55g3kr3x4935dfb-guile-3.0.8/share/guile/3.0" "/gnu/store/1jgcbdzx2ss6xv59w55g3kr3x4935dfb-guile-3.0.8/share/guile/3.0" "/gnu/store/1jgcbdzx2ss6xv59w55g3kr3x4935dfb-guile-3.0.8/share/guile/site/3.0" "/gnu/store/1jgcbdzx2ss6xv59w55g3kr3x4935dfb-guile-3.0.8/share/guile/site" "/gnu/store/1jgcbdzx2ss6xv59w55g3kr3x4935dfb-guile-3.0.8/share/guile" "/home/user/.guix-profile/share/guile/site/3.0" "/home/user/.guix-profile/share/guile/site/3.0")
Currently you have to start with:
(use-modules (gnu packages))
This will set up ‘%load-path’ so that channel modules become visible.
Let me know if it works for you!
This is a bug we should fix.
HTH,
Ludo’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#58841
; Package
guix
.
(Sat, 05 Nov 2022 11:20:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 58841 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Sat, Nov 05, 2022 at 11:31:38AM +0100, Ludovic Courtès wrote:
>
> Currently you have to start with:
>
> (use-modules (gnu packages))
>
> This will set up ‘%load-path’ so that channel modules become visible.
> Let me know if it works for you!
yes, it works. thank you!
> This is a bug we should fix.
it would be nice.
or at least mention it in the documentation.
--
wbr, alexander barakin aka sash-kan.
--
i will be very thankful to you if you will use order,
that natural for the human:
first question, then the answer.
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#58841
; Package
guix
.
(Sat, 05 Nov 2022 12:24:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 58841 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Sat, Nov 05, 2022 at 11:31:38AM +0100, Ludovic Courtès wrote:
>
> This is a bug we should fix.
btw, "shell" behaves similarly - only sees the "system" channel:
$ guix time-machine --channels=channels.scm -- shell -- guix describe
guix shell: warning: no packages specified; creating an empty
environment
Generation 18 Oct 25 2022 15:24:49 (current)
guix a0751e3
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: a0751e3250dfea7e52468c8090e18c3118d93a60
can this also be considered a bug? if so, is it worth sending a separate
bug report?
--
wbr, alexander barakin aka sash-kan.
--
i will be very thankful to you if you will use order,
that natural for the human:
first question, then the answer.
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#58841
; Package
guix
.
(Sat, 05 Nov 2022 17:37:01 GMT)
Full text and
rfc822 format available.
Message #20 received at 58841 <at> debbugs.gnu.org (full text, mbox):
"alexander barakin (aka sash-kan)" <alex <at> barak.in> skribis:
> On Sat, Nov 05, 2022 at 11:31:38AM +0100, Ludovic Courtès wrote:
>>
>> This is a bug we should fix.
>
> btw, "shell" behaves similarly - only sees the "system" channel:
>
> $ guix time-machine --channels=channels.scm -- shell -- guix describe
> guix shell: warning: no packages specified; creating an empty
This command is running ‘guix describe’ with the ‘guix’ command that
happens to be in $PATH; in addition, the ‘shell’ bit does nothing, as
shown by the warning above.
What you probably meant is:
guix time-machine -C channels.scm -- describe
HTH,
Ludo’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#58841
; Package
guix
.
(Sat, 21 Jan 2023 16:29:03 GMT)
Full text and
rfc822 format available.
Message #23 received at 58841 <at> debbugs.gnu.org (full text, mbox):
Hi Ludo,
On Sat, 05 Nov 2022 at 11:31, Ludovic Courtès <ludo <at> gnu.org> wrote:
> Currently you have to start with:
>
> (use-modules (gnu packages))
>
> This will set up ‘%load-path’ so that channel modules become visible.
> Let me know if it works for you!
>
> This is a bug we should fix.
Ah, I thought it was expected. :-) Well, my ~/.guile looks like:
--8<---------------cut here---------------start------------->8---
(use-modules
(ice-9 readline)
(ice-9 format)
(ice-9 pretty-print)
(guix)
(gnu packages)
(gnu packages base))
(activate-readline)
--8<---------------cut here---------------end--------------->8---
so it avoids me this kind of annoyance.
Well, do we open another ticket or just retitle this one?
Cheers,
simon
Information forwarded
to
bug-guix <at> gnu.org
:
bug#58841
; Package
guix
.
(Fri, 17 Feb 2023 17:17:04 GMT)
Full text and
rfc822 format available.
Message #26 received at 58841 <at> debbugs.gnu.org (full text, mbox):
Hi Ludo,
On sam., 05 nov. 2022 at 11:31, Ludovic Courtès <ludo <at> gnu.org> wrote:
> This will set up ‘%load-path’ so that channel modules become visible.
> Let me know if it works for you!
>
> This is a bug we should fix.
Please see this fix: <https://issues.guix.gnu.org/61343#4>.
Cheers,
simon
This bug report was last modified 2 years and 176 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.