From ff8866045a11c5fc335966db9005d63884b06e3d Mon Sep 17 00:00:00 2001 From: Jens Nolte <jens@nightmarestudio.de> Date: Tue, 7 Apr 2020 14:21:15 +0200 Subject: [PATCH] Always use substituters --- bin/deploy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/deploy b/bin/deploy index ce46444..c1b055f 100755 --- a/bin/deploy +++ b/bin/deploy @@ -140,7 +140,7 @@ then else # remote deploy - nix copy --file "$MACHINES_PATH" "nixosSystemDerivations.$hostname" --to "ssh://root@$via_hostname" + nix copy --substitute-on-destination --file "$MACHINES_PATH" "nixosSystemDerivations.$hostname" --to "ssh://root@$via_hostname" # The manual way to do it (this is in theory also supported by nixos-rebuild by using '-I') -- GitLab