doc/rl-2.20: clarify builders-use-substitutes vs. substitute-on-destination

...as this lead to confusion before.

(cherry picked from commit 50557adb3b)
This commit is contained in:
Maximilian Bosch 2024-04-10 17:26:58 +02:00 committed by github-actions[bot]
parent c80068c099
commit a643aeccd3

View File

@ -204,4 +204,5 @@
- `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`.
Previously this behavior was controlled by the
`builders-use-substitutes` setting and `--substitute-on-destination` was ignored.