gexp: 'imported-files/derivation' can copy files instead of symlinking.
authorLudovic Courtès <ludo@gnu.org>
Mon, 16 Jul 2018 09:40:34 +0000 (11:40 +0200)
committerLudovic Courtès <ludo@gnu.org>
Thu, 19 Jul 2018 09:48:04 +0000 (11:48 +0200)
commite529d46828c359b449fc570bdc293fc12534647c
tree2d6127bccc33d4f90baf8da1f6778dc5fadbd2e3
parent8df2eca6b0915942ea087d7c5981514c532d47a2
gexp: 'imported-files/derivation' can copy files instead of symlinking.

* guix/gexp.scm (imported-files/derivation): Add #:symlink? and honor
it.
(imported-files): Pass #:symlink? to 'imported-files/derivation'.
* tests/gexp.scm ("imported-files with file-like objects"): Add 'file=?'
and use it instead of calling 'readlink'.
guix/gexp.scm
tests/gexp.scm