store: 'GUIX_DAEMON_SOCKET' can now be a URI.
authorLudovic Courtès <ludovic.courtes@inria.fr>
Fri, 21 Apr 2017 09:39:49 +0000 (11:39 +0200)
committerLudovic Courtès <ludo@gnu.org>
Fri, 21 Apr 2017 15:23:37 +0000 (17:23 +0200)
commit1397b422e254929de1805aaf1d0759cd5da6a60b
treeca37bb9b955a3f11b10c07905c35b078e0e3f641
parent031e6087c4c30b00f31824d269cfbf67a7c54f31
store: 'GUIX_DAEMON_SOCKET' can now be a URI.

* guix/store.scm (%daemon-socket-file): Rename to...
(%daemon-socket-uri): ... this.
(connect-to-daemon): New procedure.
(open-connection): Rename 'file' to 'uri'.  Use 'connect-to-daemon'
instead of 'open-unix-domain-socket'.
* guix/tests.scm (open-connection-for-tests): Rename 'file' to 'uri'.
* tests/guix-build.sh: Add tests.
* tests/store.scm ("open-connection with file:// URI"): New tests.
doc/guix.texi
guix/store.scm
guix/tests.scm
tests/guix-build.sh
tests/store.scm