* bug#58841: repl ignores modules from the channel added to time-machine @ 2022-10-28 16:27 alexander barakin (aka sash-kan) [not found] ` <handler.58841.B.166697445823198.ack@debbugs.gnu.org> 2022-11-05 10:31 ` bug#58841: repl ignores modules from the channel added to time-machine Ludovic Courtès 0 siblings, 2 replies; 8+ messages in thread From: alexander barakin (aka sash-kan) @ 2022-10-28 16:27 UTC (permalink / raw) To: 58841 [-- Attachment #1: Type: text/html, Size: 73 bytes --] [-- Attachment #2: report.txt --] [-- Type: text/plain, Size: 2263 bytes --] ## 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") ^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <handler.58841.B.166697445823198.ack@debbugs.gnu.org>]
* bug#58841: Acknowledgement (repl ignores modules from the channel added to time-machine) [not found] ` <handler.58841.B.166697445823198.ack@debbugs.gnu.org> @ 2022-10-28 18:28 ` alexander barakin (aka sash-kan) 0 siblings, 0 replies; 8+ messages in thread From: alexander barakin (aka sash-kan) @ 2022-10-28 18:28 UTC (permalink / raw) To: 58841 [-- Attachment #1: Type: text/plain, Size: 2498 bytes --] 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. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 195 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#58841: repl ignores modules from the channel added to time-machine 2022-10-28 16:27 bug#58841: repl ignores modules from the channel added to time-machine alexander barakin (aka sash-kan) [not found] ` <handler.58841.B.166697445823198.ack@debbugs.gnu.org> @ 2022-11-05 10:31 ` Ludovic Courtès 2022-11-05 11:19 ` alexander barakin (aka sash-kan) ` (3 more replies) 1 sibling, 4 replies; 8+ messages in thread From: Ludovic Courtès @ 2022-11-05 10:31 UTC (permalink / raw) To: alexander barakin (aka sash-kan); +Cc: 58841 Hi Alexander, "alexander barakin (aka sash-kan)" <alex@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’. ^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#58841: repl ignores modules from the channel added to time-machine 2022-11-05 10:31 ` bug#58841: repl ignores modules from the channel added to time-machine Ludovic Courtès @ 2022-11-05 11:19 ` alexander barakin (aka sash-kan) 2022-11-05 12:04 ` alexander barakin (aka sash-kan) ` (2 subsequent siblings) 3 siblings, 0 replies; 8+ messages in thread From: alexander barakin (aka sash-kan) @ 2022-11-05 11:19 UTC (permalink / raw) To: Ludovic Courtès; +Cc: 58841 [-- Attachment #1: Type: text/plain, Size: 561 bytes --] 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. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 195 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#58841: repl ignores modules from the channel added to time-machine 2022-11-05 10:31 ` bug#58841: repl ignores modules from the channel added to time-machine Ludovic Courtès 2022-11-05 11:19 ` alexander barakin (aka sash-kan) @ 2022-11-05 12:04 ` alexander barakin (aka sash-kan) 2022-11-05 17:36 ` Ludovic Courtès 2023-01-21 16:18 ` zimoun 2023-02-17 15:49 ` Simon Tournier 3 siblings, 1 reply; 8+ messages in thread From: alexander barakin (aka sash-kan) @ 2022-11-05 12:04 UTC (permalink / raw) To: Ludovic Courtès; +Cc: 58841 [-- Attachment #1: Type: text/plain, Size: 799 bytes --] 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. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 195 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#58841: repl ignores modules from the channel added to time-machine 2022-11-05 12:04 ` alexander barakin (aka sash-kan) @ 2022-11-05 17:36 ` Ludovic Courtès 0 siblings, 0 replies; 8+ messages in thread From: Ludovic Courtès @ 2022-11-05 17:36 UTC (permalink / raw) To: alexander barakin (aka sash-kan); +Cc: 58841 "alexander barakin (aka sash-kan)" <alex@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’. ^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#58841: repl ignores modules from the channel added to time-machine 2022-11-05 10:31 ` bug#58841: repl ignores modules from the channel added to time-machine Ludovic Courtès 2022-11-05 11:19 ` alexander barakin (aka sash-kan) 2022-11-05 12:04 ` alexander barakin (aka sash-kan) @ 2023-01-21 16:18 ` zimoun 2023-02-17 15:49 ` Simon Tournier 3 siblings, 0 replies; 8+ messages in thread From: zimoun @ 2023-01-21 16:18 UTC (permalink / raw) To: Ludovic Courtès, alexander barakin (aka sash-kan); +Cc: 58841 Hi Ludo, On Sat, 05 Nov 2022 at 11:31, Ludovic Courtès <ludo@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 ^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#58841: repl ignores modules from the channel added to time-machine 2022-11-05 10:31 ` bug#58841: repl ignores modules from the channel added to time-machine Ludovic Courtès ` (2 preceding siblings ...) 2023-01-21 16:18 ` zimoun @ 2023-02-17 15:49 ` Simon Tournier 3 siblings, 0 replies; 8+ messages in thread From: Simon Tournier @ 2023-02-17 15:49 UTC (permalink / raw) To: Ludovic Courtès, alexander barakin (aka sash-kan); +Cc: 58841 Hi Ludo, On sam., 05 nov. 2022 at 11:31, Ludovic Courtès <ludo@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 ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2023-02-17 17:17 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2022-10-28 16:27 bug#58841: repl ignores modules from the channel added to time-machine alexander barakin (aka sash-kan) [not found] ` <handler.58841.B.166697445823198.ack@debbugs.gnu.org> 2022-10-28 18:28 ` bug#58841: Acknowledgement (repl ignores modules from the channel added to time-machine) alexander barakin (aka sash-kan) 2022-11-05 10:31 ` bug#58841: repl ignores modules from the channel added to time-machine Ludovic Courtès 2022-11-05 11:19 ` alexander barakin (aka sash-kan) 2022-11-05 12:04 ` alexander barakin (aka sash-kan) 2022-11-05 17:36 ` Ludovic Courtès 2023-01-21 16:18 ` zimoun 2023-02-17 15:49 ` Simon Tournier
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/guix.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.