guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cookbook recipe from "The Repository as a Channel" section does not


From: Nigko Yerden
Subject: Re: Cookbook recipe from "The Repository as a Channel" section does not work for Guix with properly configured GUILE_LOAD_PATH
Date: Tue, 20 Aug 2024 12:18:13 +0500
User-agent: Mozilla Thunderbird

pelzflorian (Florian Pelz) wrote:
Could you send a patch about the `guix build' diff you debugged to
guix-patches@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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]