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=
|
||||||
upgrade_all=
|
upgrade_all=
|
||||||
profile=/nix/var/nix/profiles/system
|
profile=/nix/var/nix/profiles/system
|
||||||
buildHost=localhost
|
buildHost=
|
||||||
targetHost=
|
targetHost=
|
||||||
remoteSudo=
|
remoteSudo=
|
||||||
verboseScript=
|
verboseScript=
|
||||||
|
@ -151,12 +151,6 @@ fi
|
||||||
if [[ -z "$buildHost" && -n "$targetHost" ]]; then
|
if [[ -z "$buildHost" && -n "$targetHost" ]]; then
|
||||||
buildHost="$targetHost"
|
buildHost="$targetHost"
|
||||||
fi
|
fi
|
||||||
if [ "$targetHost" = localhost ]; then
|
|
||||||
targetHost=
|
|
||||||
fi
|
|
||||||
if [ "$buildHost" = localhost ]; then
|
|
||||||
buildHost=
|
|
||||||
fi
|
|
||||||
|
|
||||||
# log the given argument to stderr if verbose mode is on
|
# log the given argument to stderr if verbose mode is on
|
||||||
logVerbose() {
|
logVerbose() {
|
||||||
|
|
Loading…
Reference in a new issue