nixpkgs-suyu/pkgs/os-specific/linux/nixos-rebuild
rnhmjoj 35a8d78e44
nixos-rebuild: fix --use-remote-sudo
Currently fails with:

  $ nixos-rebuild test --target-host myhost --use-remote-sudo
  building Nix...
  sudo: /run/current-system/sw/bin/sudo must be owned by uid 0 and have the setuid bit set

It seems setting an explicit PATH in the ssh command overrides the
remote setuid wrappers.
2021-06-18 02:55:21 +02:00
..
default.nix
nixos-rebuild.sh nixos-rebuild: fix --use-remote-sudo 2021-06-18 02:55:21 +02:00