Use nix copy -s for deployment

master
Yorick van Pelt 2024-03-10 14:37:51 +01:00
parent 9bb17c1137
commit 6cb0ee6eec
Signed by: yorick
GPG Key ID: D8D3CC6D951384DE
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ namespace nix {
})
export const copy = dedupe(async (attrs: string[], target: SSH): Promise<void[]> => {
process.env.NIX_SSHOPTS = "-o compression=no";
await $`nix copy ${attrs} --to ssh://${target.host}`
await $`nix copy ${attrs} -s --to ssh://${target.host}`
return Array(attrs.length)
})
}