efiBootStub: Assert that the
kernel has the efiBootStub feature svn path=/nixos/trunk/; revision=33138
This commit is contained in:
parent
4caf3560be
commit
1bccbc30cd
modules/installer/efi-boot-stub
|
@ -108,7 +108,9 @@ in
|
||||||
# ../system/system-options.nix
|
# ../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 = {
|
build = {
|
||||||
menuBuilder = efiBootStubBuilder;
|
menuBuilder = efiBootStubBuilder;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue