guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using symlinks in 'local-file'


From: Alex Kost
Subject: Using symlinks in 'local-file'
Date: Sun, 14 Jun 2015 22:02:01 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

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?

Attachment: local-file-sample.scm
Description: Lotus Screencam


reply via email to

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