From 6b2a14d69842cb3aed970fecb13375e18bce6e92 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 9 Aug 2012 10:04:25 -0400 Subject: [PATCH] Fix NixOS evaluation --- modules/system/boot/loader/efi-boot-stub/efi-boot-stub.nix | 3 ++- release.nix | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/modules/system/boot/loader/efi-boot-stub/efi-boot-stub.nix b/modules/system/boot/loader/efi-boot-stub/efi-boot-stub.nix index 099cdefe142..59d9957ef5f 100644 --- a/modules/system/boot/loader/efi-boot-stub/efi-boot-stub.nix +++ b/modules/system/boot/loader/efi-boot-stub/efi-boot-stub.nix @@ -113,7 +113,8 @@ let platform = pkgs.stdenv.platform; in { - assertions = [ { assertion = ! config.boot.kernelPackages.kernel ? features || config.boot.kernelPackages.kernel.features ? efiBootStub; message = "This kernel does not support the EFI boot stub"; } ]; + #assertions = [ { assertion = ! config.boot.kernelPackages.kernel ? features || config.boot.kernelPackages.kernel.features ? efiBootStub; message = "This kernel does not support the EFI boot stub"; } ]; + require = [ options diff --git a/release.nix b/release.nix index 10cea94881f..b32ce233ec0 100644 --- a/release.nix +++ b/release.nix @@ -1,6 +1,6 @@ { nixosSrc ? {outPath = ./.; revCount = 1234; shortRev = "abcdef"; } , nixpkgs ? {outPath = ; revCount = 5678; shortRev = "fedcba"; } -, minimal ? false +#, minimal ? false }: let @@ -195,8 +195,8 @@ let tests = let - t = import ./tests { system = "i686-linux"; inherit minimal; }; - t_64 = import ./tests { system = "x86_64-linux"; inherit minimal; }; + t = import ./tests { system = "i686-linux"; }; + t_64 = import ./tests { system = "x86_64-linux"; }; in { avahi = t.avahi.test; bittorrent = t.bittorrent.test;