[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: |
Wed, 28 Aug 2024 17:36:58 +0500 |
User-agent: |
Mozilla Thunderbird |
Hello Florian,
pelzflorian (Florian Pelz) wrote:
Still, when would your diff break someone else’s code?
Instead of answering this tough question I decided to make another
patch (see attachment) which is guaranteed not to break another's code:
- The patch adds 'follow-symlinks?' argument to 'current-source-directory'
macro and 'absolute-dirname' procedure.
- In case of 'current-source-directory' the argument is optional and defaults
to #f. Thus new API is backward compatible with the old one.
- In case of 'absolute-dirname' the argument is mandatory, but this procedure
is internal to (guix utils) module and therefore the modification does not
change public API. The usage of 'absolute-dirname' inside this module
(only two occurrences) is corrected accordingly.
- 'local-file' macro from (guix gexp) uses 'current-source-directory' with
follow-symlinks? argument set to #t.
Regards,
Nigko
diff3
Description: Text document
- Re: Cookbook recipe from "The Repository as a Channel" section does not work for Guix with properly configured GUILE_LOAD_PATH, (continued)
- Re: Cookbook recipe from "The Repository as a Channel" section does not work for Guix with properly configured GUILE_LOAD_PATH, pelzflorian (Florian Pelz), 2024/08/20
- Re: Cookbook recipe from "The Repository as a Channel" section does not work for Guix with properly configured GUILE_LOAD_PATH, pelzflorian (Florian Pelz), 2024/08/22
- Re: Cookbook recipe from "The Repository as a Channel" section does not work for Guix with properly configured GUILE_LOAD_PATH, Nigko Yerden, 2024/08/22
- Re: Cookbook recipe from "The Repository as a Channel" section does not work for Guix with properly configured GUILE_LOAD_PATH, Nigko Yerden, 2024/08/22
- Re: Cookbook recipe from "The Repository as a Channel" section does not work for Guix with properly configured GUILE_LOAD_PATH, pelzflorian (Florian Pelz), 2024/08/22
- Re: Cookbook recipe from "The Repository as a Channel" section does not work for Guix with properly configured GUILE_LOAD_PATH, Nigko Yerden, 2024/08/23
- Re: Cookbook recipe from "The Repository as a Channel" section does not work for Guix with properly configured GUILE_LOAD_PATH, pelzflorian (Florian Pelz), 2024/08/23
- Re: Cookbook recipe from "The Repository as a Channel" section does not work for Guix with properly configured GUILE_LOAD_PATH, pelzflorian (Florian Pelz), 2024/08/23
- Re: Cookbook recipe from "The Repository as a Channel" section does not work for Guix with properly configured GUILE_LOAD_PATH, Nigko Yerden, 2024/08/24
- Re: Cookbook recipe from "The Repository as a Channel" section does not work for Guix with properly configured GUILE_LOAD_PATH, pelzflorian (Florian Pelz), 2024/08/26
- Re: Cookbook recipe from "The Repository as a Channel" section does not work for Guix with properly configured GUILE_LOAD_PATH,
Nigko Yerden <=
- Re: Cookbook recipe from "The Repository as a Channel" section does not work for Guix with properly configured GUILE_LOAD_PATH, pelzflorian (Florian Pelz), 2024/08/28
- Re: Cookbook recipe from "The Repository as a Channel" section does not work for Guix with properly configured GUILE_LOAD_PATH, Nigko Yerden, 2024/08/29
- Re: Cookbook recipe from "The Repository as a Channel" section does not work for Guix with properly configured GUILE_LOAD_PATH, Nigko Yerden, 2024/08/19
- Re: Cookbook recipe from "The Repository as a Channel" section does not work for Guix with properly configured GUILE_LOAD_PATH, Nigko Yerden, 2024/08/19
Re: Cookbook recipe from "The Repository as a Channel" section does not work for Guix with properly configured GUILE_LOAD_PATH, Attila Lendvai, 2024/08/14