mirror of
https://github.com/NixOS/nix.git
synced 2024-12-11 16:12:28 +00:00
Remove nix-copy-closure reference note from nix-store docs
nix-copy-closure is not using nix-store directly anymore.
This commit is contained in:
parent
c68e5913c7
commit
df7e9b6d68
@ -1115,17 +1115,17 @@ path).</para>
|
|||||||
<para>This command does not produce a <emphasis>closure</emphasis> of
|
<para>This command does not produce a <emphasis>closure</emphasis> of
|
||||||
the specified paths, so if a store path references other store paths
|
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
|
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>
|
<screen>
|
||||||
$ nix-store --export $(nix-store -qR <replaceable>paths</replaceable>) > out</screen>
|
$ nix-store --export $(nix-store -qR <replaceable>paths</replaceable>) > out</screen>
|
||||||
|
|
||||||
</para>
|
To import the whole closure again, run:
|
||||||
|
|
||||||
<para>For an example of how <option>--export</option> and
|
<screen>
|
||||||
<option>--import</option> can be used, see the source of the <command
|
$ nix-store --import < out</screen>
|
||||||
linkend="sec-nix-copy-closure">nix-copy-closure</command>
|
|
||||||
command.</para>
|
</para>
|
||||||
|
|
||||||
</refsection>
|
</refsection>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user