unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Using symlinks in 'local-file'
@ 2015-06-14 19:02 Alex Kost
  2015-06-15 20:44 ` Ludovic Courtès
  0 siblings, 1 reply; 5+ messages in thread
From: Alex Kost @ 2015-06-14 19:02 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 431 bytes --]

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 #2: local-file-sample.scm --]
[-- Type: application/vnd.lotus-screencam, Size: 687 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-06-20 16:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-14 19:02 Using symlinks in 'local-file' Alex Kost
2015-06-15 20:44 ` Ludovic Courtès
2015-06-16 18:05   ` Alex Kost
2015-06-19  8:26     ` Ludovic Courtès
2015-06-20 16:35       ` Alex Kost

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).