Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

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

authored by Lach and committed by GitHub a9e8eff4 e52c8291

+2 -1
+2 -1
nixos/modules/virtualisation/xen-dom0.nix
··· 9 10 let 11 inherit (builtins) readFile; 12 inherit (lib.modules) mkRemovedOptionModule mkRenamedOptionModule mkIf; 13 inherit (lib.options) 14 mkOption ··· 797 environment = { 798 systemPackages = [ 799 cfg.package 800 - cfg.qemu.package 801 ]; 802 etc = 803 # Set up Xen Domain 0 configuration files.
··· 9 10 let 11 inherit (builtins) readFile; 12 + inherit (lib.meta) hiPrio; 13 inherit (lib.modules) mkRemovedOptionModule mkRenamedOptionModule mkIf; 14 inherit (lib.options) 15 mkOption ··· 798 environment = { 799 systemPackages = [ 800 cfg.package 801 + (hiPrio cfg.qemu.package) 802 ]; 803 etc = 804 # Set up Xen Domain 0 configuration files.