Skip to content

Commit 0aa6273

Browse files
authored
Merge pull request #329 from NixOS/merge-when-green-joerg
fix broken nixos-rebuild-ng command
2 parents f14c323 + 0ea971e commit 0aa6273

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

targets/nixos-wiki.nixos.org/deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ deploy_system() {
7878

7979
local retry_count=0
8080
while [ $retry_count -lt $MAX_RETRIES ]; do
81-
if nixos-rebuild-ng switch ----use-substitutes --flake "${FLAKE_TARGET}" --target-host "${SSH_TARGET}"; then
81+
if nixos-rebuild-ng switch --use-substitutes --flake "${FLAKE_TARGET}" --target-host "${SSH_TARGET}"; then
8282
log "Deployment successful"
8383
return 0
8484
else

0 commit comments

Comments
 (0)