ssh: fix substitution when using experimental nix copy
This commit is contained in:
parent
caf33af7d8
commit
beb157dcb6
1 changed files with 5 additions and 1 deletions
|
@ -273,7 +273,11 @@ impl Ssh {
|
|||
]);
|
||||
|
||||
if options.use_substitutes {
|
||||
command.arg("--substitute-on-destination");
|
||||
command.args(&[
|
||||
"--substitute-on-destination",
|
||||
// needed due to UX bug in ssh-ng://
|
||||
"--builders-use-substitutes",
|
||||
]);
|
||||
}
|
||||
|
||||
if let Some("drv") = path.extension().and_then(OsStr::to_str) {
|
||||
|
|
Loading…
Reference in a new issue