Skip to content

Commit

Permalink
Remove nix-copy-closure reference note from nix-store docs
Browse files Browse the repository at this point in the history
nix-copy-closure is not using nix-store directly anymore.
  • Loading branch information
discordianfish authored Jun 15, 2016
1 parent c68e591 commit df7e9b6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions doc/manual/command-ref/nix-store.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down

0 comments on commit df7e9b6

Please sign in to comment.