doc/rl-2.20: add missing entry about nix copy --to ssh-ng://...

This requires `--substitute-on-destination` if you want the remote side
to substitute instead of copying if possible.

For completeness sake, document it here.

Also, the stable Nix from nixpkgs is still 2.18, so more folks may
stumble upon this when this is bumped, so I'd expect this to be actually
useful.

Closes #10182
This commit is contained in:
Maximilian Bosch 2024-04-09 21:27:00 +02:00
parent c313394ae9
commit f34b8de5b2
No known key found for this signature in database

View file

@ -200,3 +200,8 @@
while performing various operations (including `nix develop`, `nix flake
update`, and so on). With several fixes to Nix's signal handlers, Nix
commands will now exit quickly after Ctrl-C is pressed.
- `nix copy` to a `ssh-ng` store now needs `--substitute-on-destination` (a.k.a. `-s`)
in order to substitute paths on the remote store instead of copying them.
The behavior is consistent with `nix copy` to a different kind of remote store.
Previously this behavior was controlled by `--builders-use-substitutes`.