nixpkgs-suyu/pkgs/os-specific/linux/nixos-rebuild
Anund bc5a610cb7 nixos-rebuild: fix --install-bootloader
nixos-rebuild relies on setting an environment variable to change
behaviour during nixos-rebuild boot/switch between calling update or
install via systemd bootctl. Adding sudo -- as a prefix to various exec
calls does not preserve the environment breaking this mechanism.

This is a some what ugly fix that works.

Closes https://github.com/NixOS/nixpkgs/pull/144429
2021-11-17 09:28:05 +02:00
..
default.nix nixos-rebuild: support prebuilt Nix on aarch64 2021-05-14 12:53:57 +00:00
nixos-rebuild.sh nixos-rebuild: fix --install-bootloader 2021-11-17 09:28:05 +02:00