Merge pull request #156 from emilylange/nix3-copy-substitution

This commit is contained in:
Zhaofeng Li 2023-05-26 23:03:00 -06:00 committed by GitHub
commit c61bebae1d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) {