Skip to content

Commit

Permalink
Revert "nixos-rebuild: fix entering sudo password over SSH"
Browse files Browse the repository at this point in the history
This reverts commit 09fd207.

It caused a regression when using `--build-host` and flakes.
See #277642 (comment)
  • Loading branch information
roberth committed Jan 13, 2024
1 parent 221ad6d commit 99d3e0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/os-specific/linux/nixos-rebuild/nixos-rebuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ if [ "$action" = edit ]; then
exit 1
fi

SSHOPTS="$NIX_SSHOPTS -o ControlMaster=auto -o ControlPath=$tmpDir/ssh-%n -o ControlPersist=60 -t"
SSHOPTS="$NIX_SSHOPTS -o ControlMaster=auto -o ControlPath=$tmpDir/ssh-%n -o ControlPersist=60"

# First build Nix, since NixOS may require a newer version than the
# current one.
Expand Down

0 comments on commit 99d3e0c

Please sign in to comment.