Author: shlevy
Date: Fri Mar 16 02:55:17 2012
New Revision: 33138
URL: https://nixos.org/websvn/nix/?rev=33138&sc=1
Log:
efiBootStub: Assert that the
kernel has the efiBootStub feature
Modified:
nixos/trunk/modules/installer/efi-boot-stub/efi-boot-stub.nix
Modified: nixos/trunk/modules/installer/efi-boot-stub/efi-boot-stub.nix
==============================================================================
--- nixos/trunk/modules/installer/efi-boot-stub/efi-boot-stub.nix Fri Mar
16 02:45:47 2012 (r33137)
+++ nixos/trunk/modules/installer/efi-boot-stub/efi-boot-stub.nix Fri Mar
16 02:55:17 2012 (r33138)
@@ -108,7 +108,9 @@
# ../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;
};
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits