bug#73275: ‘with-imported-modules’ fails to cope with dangling symlinks

2024-09-15 Thread Ludovic Courtès
Ludovic Courtès skribis: > $ guix shell -CWP guile guix -- guile imported-modules-dangling-symlink.scm > ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0 > ;;; or pass the --no-auto-compile argument to disable. > ;;; compiling > /home/ludo/src/guix-debugging/imported-modules

bug#73275: ‘with-imported-modules’ fails to cope with dangling symlinks

2024-09-15 Thread Ludovic Courtès
Consider this code, which uses ‘with-imported-modules’ with a computed module ‘foo’ (thereby leading to the creation of a “module-import” derivation, via ‘imported-files/derivation’): --8<---cut here---start->8--- (use-modules (guix)) (pk (stat:type (lstat (sea