mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-20 11:05:14 +00:00
nixos-rebuild: Treat any build/target host as non-local
Closes #148918.
This commit is contained in:
parent
5be120bac3
commit
cbd1dc1e72
@ -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 New Issue
Block a user