Merge pull request #10227 from tmplt/doc/nix-copy

nix-copy: document --all --from local binary cache example
This commit is contained in:
Eelco Dolstra 2024-03-12 07:22:28 +01:00 committed by GitHub
commit 18b89ca58c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -11,6 +11,12 @@ R""(
Note the `file://` - without this, the destination is a chroot
store, not a binary cache.
* Copy all store paths from a local binary cache in `/tmp/cache` to the local store:
```console
# nix copy --all --from file:///tmp/cache
```
* Copy the entire current NixOS system closure to another machine via
SSH: