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: pelzflorian (Florian Pelz)
Subject: Re: Cookbook recipe from "The Repository as a Channel" section does not work for Guix with properly configured GUILE_LOAD_PATH
Date: Fri, 23 Aug 2024 18:25:20 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

"pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de> writes:
> (I wonder if such non-channel evaluation might cause problems when a
> non-channel scheme file has the same name as a file in a channel.  This
> might be a rationale for never using local-file with relative paths.)

Indeed with weird load-paths

GUILE_LOAD_PATH=${GUILE_LOAD_PATH}:/home/florian/src/home-config/configs guix 
home reconfigure gnu.scm

;;; 
("/gnu/store/nanvziq36krgh330yjhwpphcyfz5dyzm-guix-module-union/share/guile/site/3.0")

because syntax-source says filename is
"gnu.scm".

But not normally

GUILE_LOAD_PATH=${GUILE_LOAD_PATH} guix home reconfigure gnu.scm 

;;; ("/home/florian/src/home-config/configs")

because syntax-source says filename is
"/home/florian/src/home-config/configs/gnu.scm".

Regards,
Florian



reply via email to

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