mirror of
https://github.com/nix-community/disko.git
synced 2026-11-30 13:03:28 +01:00
Set kernelPackages in native builder
In some cases, the kernel is not defined for cross-arch builds.
This commit is contained in:
1 parent
fec5efebfc
commit
6f4cf5abbe
1 file changed
+1
@@ -76,6 +76,7 @@ let
|
||||
disko.testMode = true;
|
||||
disko.devices = lib.mkForce cleanedConfig.disko.devices;
|
||||
boot.loader.grub.devices = lib.mkForce cleanedConfig.boot.loader.grub.devices;
|
||||
boot.kernelPackages = cfg.kernelPackages;
|
||||
nixpkgs.hostPlatform = lib.mkForce pkgs.stdenv.hostPlatform;
|
||||
nixpkgs.buildPlatform = lib.mkForce pkgs.stdenv.hostPlatform;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user