store: Add 'add-permanent-root' and 'remove-permanent-root'.
authorLudovic Courtès <ludo@gnu.org>
Sat, 12 Apr 2014 20:32:10 +0000 (22:32 +0200)
committerLudovic Courtès <ludo@gnu.org>
Sat, 12 Apr 2014 20:32:10 +0000 (22:32 +0200)
commita9d2a10546b128c3d6df5665ef6dab929cb3db39
treed3df68734fc6e550c01c890ba5567553cf1ff41b
parentca2baf10bad8433e92d7dde6629946f54043d63f
store: Add 'add-permanent-root' and 'remove-permanent-root'.

* guix/store.scm (add-indirect-root): Improve docstring.
  (%gc-roots-directory): New variable.
  (add-permanent-root, remove-permanent-root): New procedures.
* tests/store.scm ("permanent root"): New test.
guix/store.scm
tests/store.scm