If one uses a relative symlink in 'local-file', it will lead to a broken symlink in the store as illustrated in the attached example. So I think it either:
- should be documented explicitly that 'local-file' adds a specified file to the store blindly, which may lead to the problem with a broken symlink. - or 'local-file' (or a deeper procedure) should take care of that case and dereference a symlink if needed. WDYT?
local-file-sample.scm
Description: Lotus Screencam