nixos-rebuild: Treat any build/target host as non-local
Closes #148918.
This commit is contained in:
parent
5be120bac3
commit
cbd1dc1e72
1 changed files with 1 additions and 7 deletions
|
@ -28,7 +28,7 @@ rollback=
|
|||
upgrade=
|
||||
upgrade_all=
|
||||
profile=/nix/var/nix/profiles/system
|
||||
buildHost=localhost
|
||||
buildHost=
|
||||
targetHost=
|
||||
remoteSudo=
|
||||
verboseScript=
|
||||
|
@ -151,12 +151,6 @@ fi
|
|||
if [[ -z "$buildHost" && -n "$targetHost" ]]; then
|
||||
buildHost="$targetHost"
|
||||
fi
|
||||
if [ "$targetHost" = localhost ]; then
|
||||
targetHost=
|
||||
fi
|
||||
if [ "$buildHost" = localhost ]; then
|
||||
buildHost=
|
||||
fi
|
||||
|
||||
# log the given argument to stderr if verbose mode is on
|
||||
logVerbose() {
|
||||
|
|
Loading…
Reference in a new issue