0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00

nixos-rebuild: use --pipe instead of --pty in systemd-run

This commit is contained in:
Rvfg 2023-10-25 10:50:03 +08:00
parent a3a75ec908
commit ff3d9902e0
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -60,7 +60,7 @@ import ./make-test-python.nix ({ pkgs, ... }: {
# Need to run `nixos-rebuild` twice because the first run will install
# GRUB anyway
with subtest("Switch system again and install bootloader"):
result = machine.succeed("nixos-rebuild switch --install-bootloader")
result = machine.succeed("nixos-rebuild switch --install-bootloader 2>&1")
# install-grub2.pl messages
assert "updating GRUB 2 menu..." in result
assert "installing the GRUB 2 boot loader on /dev/vda..." in result