unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: "alexander barakin (aka sash-kan)" <alex@barak.in>
Cc: 58841@debbugs.gnu.org
Subject: bug#58841: repl ignores modules from the channel added to time-machine
Date: Sat, 05 Nov 2022 11:31:38 +0100	[thread overview]
Message-ID: <87bkpllmk5.fsf@gnu.org> (raw)
In-Reply-To: <13761666972940@mail.yandex.ru> (alexander barakin's message of "Fri, 28 Oct 2022 19:27:22 +0300")

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’.




  parent reply	other threads:[~2022-11-05 10:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 ` Ludovic Courtès [this message]
2022-11-05 11:19   ` bug#58841: repl ignores modules from the channel added to time-machine 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bkpllmk5.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=58841@debbugs.gnu.org \
    --cc=alex@barak.in \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).