GNU bug report logs -
#37399
Guix subcommands from channels not found
Previous Next
To reply to this bug, email your comments to 37399 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#37399
; Package
guix
.
(Fri, 13 Sep 2019 11:58:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Julien Lepiller <julien <at> lepiller.eu>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Fri, 13 Sep 2019 11:58:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi guix. While working on my guix-home-manager experiment, I tried to create a "guix home" subcommand in my channel, by creating the (guix scripts home) module.
However, after pulling the right branch, with this in my channels.scm:
(channel
(name 'home)
(url "https://framagit.org/tyreunom/guix-home-manager.git")
(branch "subcommand"))
I get "guix: home: command not found".
Guix describes agrees that I have installed the right branch, and from guix repl, I can run:
,m (guix ui)
(run-guix-command 'home)
And it prints the test message.
From stracing the guix home invocation, I found out that guix was looking for the module only inside guix-module-union and my guix profile, but not inside "current". So either guix-module-union should be extended to contain channel code, or the load path modified to load a bigger union or multiple directories.
For now, setting GUILE_LOAD_PATH to load from "current" works and I can run guix home. I think it should work by default though.
Merged 37399 38795.
Request was from
Gábor Boskovits <boskovits <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Sun, 05 Jan 2020 20:59:01 GMT)
Full text and
rfc822 format available.
This bug report was last modified 5 years and 158 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.