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 9 10 10 let 11 11 inherit (builtins) readFile; 12 + inherit (lib.meta) hiPrio; 12 13 inherit (lib.modules) mkRemovedOptionModule mkRenamedOptionModule mkIf; 13 14 inherit (lib.options) 14 15 mkOption ··· 797 798 environment = { 798 799 systemPackages = [ 799 800 cfg.package 800 - cfg.qemu.package 801 + (hiPrio cfg.qemu.package) 801 802 ]; 802 803 etc = 803 804 # Set up Xen Domain 0 configuration files.