Skip to content
Permalink
Browse files
Merge pull request #269 from samueldr-wip/fix/regression-kernel-filename
fix build failure by providing kernel filename to internal NixOS option
  • Loading branch information
samueldr committed Dec 31, 2020
2 parents 41923e4 + 3487b77 commit d586952
Showing 1 changed file with 4 additions and 0 deletions.
@@ -103,6 +103,10 @@ in
else (pkgs.recurseIntoAttrs (pkgs.linuxPackagesFor cfg.package))
);

config.system.boot.loader.kernelFile = mkIf (cfg.package != null && cfg.package ? file) (
mkDefault cfg.package.file
);

# Disable kernel config checks as it's EXTREMELY nixpkgs-kernel centric.
# We're duplicating that good work for the time being.
config.system.requiredKernelConfig = lib.mkForce [];

0 comments on commit d586952

Please sign in to comment.