mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-30 14:11:21 +00:00
flake.nix: lib.nixosSystem: Set system.build.vm* with lib.mkDefault
This will help anyone who imports the qemu module themselves, to avoid a collision.
This commit is contained in:
parent
9fd9c617a9
commit
a0ad8dcd35
@ -47,8 +47,8 @@
|
||||
system.nixos.revision = final.mkIf (self ? rev) self.rev;
|
||||
|
||||
system.build = {
|
||||
vm = config.virtualisation.vmVariant.system.build.vm;
|
||||
vmWithBootLoader = config.virtualisation.vmVariantWithBootLoader.system.build.vm;
|
||||
vm = lib.mkDefault config.virtualisation.vmVariant.system.build.vm;
|
||||
vmWithBootLoader = lib.mkDefault config.virtualisation.vmVariantWithBootLoader.system.build.vm;
|
||||
};
|
||||
})
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user