summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-09-23 21:24:18 +0200
committerLudovic Courtès <ludo@gnu.org>2013-09-23 23:56:35 +0200
commitcaf96debc257dee9ad8b0ea74cc6a8241c30dad4 (patch)
tree746a3a19fdb7b8462eb4e9466d182a11a4cc8136 /gnu
parenta4141d6d5326925174ef10a7d84ec72f03d6a6cb (diff)
downloadguix-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 'gnu')
0 files changed, 0 insertions, 0 deletions