"pelzflorian (Florian Pelz)" <[email protected]> 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