From 6cb0ee6eec682d23eab53fb2b229b41a6709bdc9 Mon Sep 17 00:00:00 2001 From: Yorick van Pelt Date: Sun, 10 Mar 2024 14:37:51 +0100 Subject: [PATCH] Use nix copy -s for deployment --- deployer/nix.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployer/nix.ts b/deployer/nix.ts index 7f7306c..d795610 100644 --- a/deployer/nix.ts +++ b/deployer/nix.ts @@ -131,7 +131,7 @@ namespace nix { }) export const copy = dedupe(async (attrs: string[], target: SSH): Promise => { 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) }) }