diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-09-23 21:24:18 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-09-23 23:56:35 +0200 |
commit | caf96debc257dee9ad8b0ea74cc6a8241c30dad4 (patch) | |
tree | 746a3a19fdb7b8462eb4e9466d182a11a4cc8136 /daemon.am | |
parent | a4141d6d5326925174ef10a7d84ec72f03d6a6cb (diff) | |
download | patches-caf96debc257dee9ad8b0ea74cc6a8241c30dad4.tar patches-caf96debc257dee9ad8b0ea74cc6a8241c30dad4.tar.gz |
guix-register: Expect closures to refer to the original store.
* nix/guix-register/guix-register.cc (prefix): New variable.
(parse_opt): Use it.
(register_validity): Change 'info.path' to the final store name.
Hash the final under its real path.
* tests/guix-register.sh: Adjust the contents of $closure accordingly.
Rename 'NIX_LOCALSTATE_DIR' to 'NIX_STATE_DIR'. Don't try to call
'valid-path?'. Add test using 'sqlite3'.
Diffstat (limited to 'daemon.am')
0 files changed, 0 insertions, 0 deletions