Anchor channels.d path to channels.scm's own location, not CWD
"./channels.d" only resolved because guix pull -C channels.scm happened to be invoked with CWD == this file's directory. Once guix pull loads this file as a plain module (e.g. from the store, to build its package cache), CWD is unrelated to the checkout, so scandir returned #f and map blew up with "Not a list: #f". Use (current-filename) instead so it works regardless of how/where this file gets loaded from.master
parent
ff382c6056
commit
e51cb78456
Loading…
Reference in New Issue