nar: Access the database instead of connecting to the daemon.
authorLudovic Courtès <ludo@gnu.org>
Tue, 13 Nov 2018 08:46:40 +0000 (09:46 +0100)
committerLudovic Courtès <ludo@gnu.org>
Tue, 13 Nov 2018 13:59:45 +0000 (14:59 +0100)
commit1afe1985f5bffef76872f4c9e87115b46a4a3d47
tree79bd452895b477a5ec3ec3b5aa12c763cf7160cf
parent155956449af6d42cdf739b0922b34bdaae639aa7
nar: Access the database instead of connecting to the daemon.

* guix/store/database.scm (%default-database-file): New variable.
(path-id): Export.
* guix/nar.scm (finalize-store-file): Use 'with-database' instead of
'with-store', and use 'path-id' instead of 'valid-path?'.
guix/nar.scm
guix/store/database.scm