@@ -136,7 +136,7 @@ deployPush deployPath getNixBuilders = do
136136 withSpinner "Uploading closures" $ ifor_ buildOutputByHost $ \host outputPath -> do
137137 callProcess'
138138 (Map.fromList [("NIX_SSHOPTS", unwords sshOpts)])
139− "nix-copy-closure" ["-v", "--to", "root@" <> host, "--gzip", outputPath]
139+ "nix-copy-closure" ["-v", "--to", "--use-substitutes", "root@" <> host, "--gzip", outputPath]
140140 withSpinner "Uploading config" $ ifor_ buildOutputByHost $ \host _ -> do
141141 callProcessAndLogOutput (Notice, Warning) $
142142 proc "rsync"