mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03:00
efiBootStub: Assert that the
kernel has the efiBootStub feature svn path=/nixos/trunk/; revision=33138
This commit is contained in:
parent
4caf3560be
commit
1bccbc30cd
1 changed files with 3 additions and 1 deletions
|
@ -108,7 +108,9 @@ in
|
|||
# ../system/system-options.nix
|
||||
];
|
||||
|
||||
system = mkIf config.boot.loader.efiBootStub.enable {
|
||||
system = mkIf (config.boot.loader.efiBootStub.enable && (assert
|
||||
(config.boot.kernelPackages.kernel.features ? efiBootStub &&
|
||||
config.boot.kernelPackages.kernel.features.efiBootStub); true)) {
|
||||
build = {
|
||||
menuBuilder = efiBootStubBuilder;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue