pelzflorian (Florian Pelz) wrote:
Could you send a patch about the `guix build' diff you debugged to guix-patc...@gnu.org? Preferrably you would drop the whole absolute-dirname’s `if' and canonicalize unconditionally, I guess. Make explicit in the docstring or in comments that symlinks are the reason.
No. I view these patches of 'absolute-directory' as a demonstration that the current behavior of 'local-file' is connected just with not following symlinks, and not with something more complicated. The modification these patches adds to 'current-source-directory' (so it would follow symlinks) is worse than a hypothetical modification of 'local-file' because I suspect it would break even more people's code.
Since cookbook's example refers to the Guile repo which does not work as a channel in Guix with the default GUILE_LOAD_PATH, maybe first we need to send a patch to Guile and then correct the cookbook accordingly? Regards, Nigko