Files
lix/doc/manual
Spencer Baugh 5f1891b795 nix-store: make --dump-db take a list of paths to dump
Inside a derivation, exportReferencesGraph already provides a way to
dump the Nix database for a specific closure. On the command line,
--dump-db gave us the same information, but only for the entire Nix
database at once.

With this change, one can now pass a list of paths to --dump-db to get
the Nix database dumped for just those paths. (The user is responsible
for ensuring this is a closure, like for --export).

Among other things, this is useful for deploying a closure to a new
host without using --import/--export; one can use tar to transfer the
store paths, and --dump-db/--load-db to transfer the validity
information. This is useful if the new host doesn't actually have Nix
yet, and the closure that is being deployed itself contains Nix.
2019-01-23 01:24:34 +00:00
..
2018-11-13 01:18:26 +01:00
2013-08-21 12:53:51 +02:00
2018-10-29 08:44:58 -05:00
2019-01-10 21:02:09 +01:00
2018-08-21 21:46:43 +02:00
2018-09-01 15:35:46 -04:00
2009-11-05 09:07:43 +00:00
2004-10-31 17:08:48 +00:00
2018-02-19 20:38:53 +01:00