gexp: 'local-file' canonicalizes its file argument.
authorLudovic Courtès <ludo@gnu.org>
Fri, 19 Jun 2015 08:18:44 +0000 (10:18 +0200)
committerLudovic Courtès <ludo@gnu.org>
Fri, 19 Jun 2015 08:23:29 +0000 (10:23 +0200)
commit7833db1f30d78aea3b7cb042723c2bd7d00e64ad
tree6df17f0cbb8e8ffe693e92777ff78ae891a35014
parent69792b285c98dc031d0464a08f84827e3f49c7f2
gexp: 'local-file' canonicalizes its file argument.

Reported by Alex Kost <alezost@gmail.com>
at <http://lists.gnu.org/archive/html/guix-devel/2015-06/msg00235.html>.

* guix/gexp.scm (local-file): Add call to 'canonicalize-path'.
* tests/gexp.scm ("one local file, symlink"): New test.
guix/gexp.scm
tests/gexp.scm