diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-06-16T08·25+0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-16T08·25+0200 |
commit | 6a5f9c86f6403f7e915710ff247e80d5f5308520 (patch) | |
tree | 74d8e419d507d12b79106c4543805ac5b015cc49 /doc/manual/command-ref | |
parent | c68e5913c71badc89ff346d1c6948517ba720c93 (diff) | |
parent | df7e9b6d6893acf57316f159564507847b9a3d18 (diff) |
Merge pull request #939 from discordianfish/patch-1
Remove nix-copy-closure reference note from nix-store docs
Diffstat (limited to 'doc/manual/command-ref')
-rw-r--r-- | doc/manual/command-ref/nix-store.xml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/manual/command-ref/nix-store.xml b/doc/manual/command-ref/nix-store.xml index 340f61210b2d..fc468f79dee0 100644 --- a/doc/manual/command-ref/nix-store.xml +++ b/doc/manual/command-ref/nix-store.xml @@ -1115,17 +1115,17 @@ path).</para> <para>This command does not produce a <emphasis>closure</emphasis> of the specified paths, so if a store path references other store paths that are missing in the target Nix store, the import will fail. To -copy a whole closure, do something like +copy a whole closure, do something like: <screen> $ nix-store --export $(nix-store -qR <replaceable>paths</replaceable>) > out</screen> -</para> +To import the whole closure again, run: + +<screen> +$ nix-store --import < out</screen> -<para>For an example of how <option>--export</option> and -<option>--import</option> can be used, see the source of the <command -linkend="sec-nix-copy-closure">nix-copy-closure</command> -command.</para> +</para> </refsection> |