Allow multiple definitions of boot.loader.kernelFile as long as they are all the same

svn path=/nixos/trunk/; revision=33139
This commit is contained in:
Shea Levy 2012-03-16 03:20:12 +00:00
parent 1bccbc30cd
commit b89a65e54c

View File

@ -38,6 +38,9 @@ let
description = ''
Name of the kernel file to be passed to the bootloader.
'';
merge = kernelFiles:
builtins.head (map (f: assert f == builtins.head kernelFiles; f)
kernelFiles);
};
system.copySystemConfiguration = pkgs.lib.mkOption {