lix/doc/manual/command-ref
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
..
command-ref.xml Restructuring the Nix manual 2014-08-27 18:41:09 +02:00
conf-file.xml manual: "sandbox" option default is "true" on Linux 2019-01-19 15:04:43 -05:00
env-common.xml document ability to set NIX_REMOTE=unix://path/to/socket 2018-01-31 22:47:16 +00:00
files.xml Restructuring the Nix manual 2014-08-27 18:41:09 +02:00
main-commands.xml Restructuring the Nix manual 2014-08-27 18:41:09 +02:00
nix-build.xml Remove docs on removed --drv-link and --add-drv-link options 2018-02-01 16:40:58 +01:00
nix-channel.xml nix-channel grammar and punctuation 2018-03-01 00:27:25 -05:00
nix-collect-garbage.xml nix-collect-garbage: little doc fix 2018-04-30 09:36:46 -07:00
nix-copy-closure.xml Don't look for a "pv" program, or mention it in the manual source 2019-01-07 16:40:19 -05:00
nix-daemon.xml Fix references to version.txt 2014-09-16 14:57:45 +02:00
nix-env.xml Merge pull request #767 from mogorman/garbage_collect_keep_last_few 2018-05-31 10:00:21 +02:00
nix-hash.xml Escape left angle brackets in XML documentation 2017-12-09 15:31:03 +00:00
nix-instantiate.xml Clarify nix-instantiate --read-write-mode 2018-12-14 09:36:40 +01:00
nix-prefetch-url.xml man page (nix-prefetch-url): Add some missing options 2017-07-07 22:11:46 +02:00
nix-shell.xml Update instructions for Haskell script using nix-shell interpreter 2019-01-18 10:50:54 +10:00
nix-store.xml nix-store: make --dump-db take a list of paths to dump 2019-01-23 01:24:34 +00:00
opt-common-syn.xml doc: Adds --quiet to the common options. 2018-04-20 16:34:06 -04:00
opt-common.xml doc: Adds --quiet to the common options. 2018-04-20 16:34:06 -04:00
opt-inst-syn.xml Restructuring the Nix manual 2014-08-27 18:41:09 +02:00
utilities.xml Nuke nix-push. 2016-08-10 11:13:11 -04:00