From df7e9b6d6893acf57316f159564507847b9a3d18 Mon Sep 17 00:00:00 2001 From: Johannes 'fish' Ziemke Date: Wed, 15 Jun 2016 15:58:13 +0200 Subject: Remove nix-copy-closure reference note from nix-store docs nix-copy-closure is not using nix-store directly anymore. --- doc/manual/command-ref/nix-store.xml | 12 ++++++------ 1 file 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). This command does not produce a closure 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: $ nix-store --export $(nix-store -qR paths) > out - +To import the whole closure again, run: + + +$ nix-store --import < out -For an example of how and - can be used, see the source of the nix-copy-closure -command. + -- cgit 1.4.1