Hi, I decided to start using guix-for-channels and run into weird issue. Reproduction is easy:
1. Make a new directory.
2. Make an empty file with .scm extension, for example:
$ touch foo.scm
3. Try to build guix-for-channels in that directory with `-L .':
$ guix build -L . -e '((@ (gnu packages package-management)
guix-for-channels) (@ (guix channels) %default-channels))'
4. Observe an error in the output:
Updating channel 'guix' from Git repository at
'https://git.savannah.gnu.org/git/guix.git'...
no code for module (foo)
Now, what I do not understand is why this error:
no code for module (foo)
is there. I am building guix from %default-channels, why is it even loading
files in the local directory? And how do I make it stop? In this case, I could
just drop `-L .', but in real code I need the argument to load modules required
for the system.
Any comments and/or ideas?
Thanks and have a nice day,
Tomas Volf
--
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.
signature.asc
Description: PGP signature
