Unverified Commit a9e8eff4 authored by Lach's avatar Lach Committed by GitHub
Browse files

nixos/xen: mark qemu as hiPrio

If user already has qemu installed in their system, there might be a collision between normal qemu-system-i386, and qemu-system-i386 with Xen support enabled

In this case, we want Xen supported qemu to win, as otherwise systems won't start with the configuration we provide in NixOS wiki
parent e52c8291
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -9,6 +9,7 @@

let
  inherit (builtins) readFile;
  inherit (lib.meta) hiPrio;
  inherit (lib.modules) mkRemovedOptionModule mkRenamedOptionModule mkIf;
  inherit (lib.options)
    mkOption
@@ -797,7 +798,7 @@ in
    environment = {
      systemPackages = [
        cfg.package
        cfg.qemu.package
        (hiPrio cfg.qemu.package)
      ];
      etc =
        # Set up Xen Domain 0 configuration files.