3
0
Fork 0
forked from mirrors/nixpkgs

efiBootStub: Assert that the

kernel has the efiBootStub feature

svn path=/nixos/trunk/; revision=33138
This commit is contained in:
Shea Levy 2012-03-16 02:55:17 +00:00
parent 4caf3560be
commit 1bccbc30cd

View file

@ -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;
};