[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#42688: Running a script with `guix repl` doesn't "see" additional ch

From: pkill9
Subject: bug#42688: Running a script with `guix repl` doesn't "see" additional channels using (%package-module-path)
Date: Mon, 3 Aug 2020 04:33:31 +0100

Running the following in `guix repl` returns additional channels:
itsme@antelope ~> guix repl
GNU Guile 3.0.4
Copyright (C) 1995-2020 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)> (use-modules (gnu packages))
scheme@(guix-user)> (%package-module-path)
$1 =
. "gnu/packages")

But running the following in "test.scm" with `guix repl /tmp/test.scm
doesn't return additional channels:
(use-modules (gnu packages))
(display (%package-module-path))

. gnu/packages))

fold-available-packages uses this to search for packages, which I am
using for a script. As a result, the script doesn't know about packages
from the additional channels.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]