Unverified Commit ff3d9902 authored by Rvfg's avatar Rvfg
Browse files

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

parent a3a75ec9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -752,7 +752,7 @@ if [[ "$action" = switch || "$action" = boot || "$action" = test || "$action" =
        "-E" "NIXOS_INSTALL_BOOTLOADER"
        "--collect"
        "--no-ask-password"
        "--pty"
        "--pipe"
        "--quiet"
        "--same-dir"
        "--service-type=exec"