diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-03-11 22:14:30 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-03-11 23:12:26 +0100 |
commit | bfc9c339301ffe6dd15d156894dc27e05f6f081f (patch) | |
tree | 589e7e4903c5fe03e8c89fc87fbb1235fc8da88c /gnu.scm | |
parent | 082c648d281dce035f8d72e64cfd369a0f775c45 (diff) | |
download | patches-bfc9c339301ffe6dd15d156894dc27e05f6f081f.tar patches-bfc9c339301ffe6dd15d156894dc27e05f6f081f.tar.gz |
packages: Add the channel .go files to the search path.
Until now %LOAD-COMPILED-PATH would wrongfully contain:
CHANNEL/share/guile/site/X.Y
for each channel, thereby ignoring all the .go files of channels. This
fixes it so that %LOAD-COMPILED-PATH instead contains:
CHANNEL/lib/guile/X.Y/site-ccache
* guix/describe.scm (current-channel-entries): New procedure.
(package-path-entries): Change to return the %LOAD-COMPILED-PATH entries
as a second value.
* gnu/packages.scm (%package-module-path): Expect two values from
'package-path-entries' and augment %LOAD-COMPILED-PATH accordingly.
Diffstat (limited to 'gnu.scm')
0 files changed, 0 insertions, 0 deletions