Fix nix-copy-closure manpage

This commit is contained in:
Eelco Dolstra 2020-07-24 13:01:00 +02:00
parent 7a0e6f076a
commit 4a79b3598f
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -37,37 +37,37 @@ and second to send the dump of those paths. If this bothers you, use
# Options # Options
*`--to`* - `--to`
: Copy the closure of _paths_ from the local Nix store to the Nix Copy the closure of _paths_ from the local Nix store to the Nix
store on _machine_. This is the default. store on _machine_. This is the default.
*`--from`* - `--from`
: Copy the closure of _paths_ from the Nix store on _machine_ to the Copy the closure of _paths_ from the Nix store on _machine_ to the
local Nix store. local Nix store.
*`--gzip`* - `--gzip`
: Enable compression of the SSH connection. Enable compression of the SSH connection.
*`--include-outputs`* - `--include-outputs`
: Also copy the outputs of store derivations included in the closure. Also copy the outputs of store derivations included in the closure.
*`--use-substitutes` / `-s`* - `--use-substitutes` / `-s`
: Attempt to download missing paths on the target machine using Nixs Attempt to download missing paths on the target machine using Nixs
substitute mechanism. Any paths that cannot be substituted on the substitute mechanism. Any paths that cannot be substituted on the
target are still copied normally from the source. This is useful, target are still copied normally from the source. This is useful,
for instance, if the connection between the source and target for instance, if the connection between the source and target
machine is slow, but the connection between the target machine and machine is slow, but the connection between the target machine and
`nixos.org` (the default binary cache server) is `nixos.org` (the default binary cache server) is
fast. fast.
*`-v`* - `-v`
: Show verbose output. Show verbose output.
# Environment variables # Environment variables
*`NIX_SSHOPTS`* - `NIX_SSHOPTS`
: Additional options to be passed to `ssh` on the command Additional options to be passed to `ssh` on the command
line. line.
# Examples # Examples