0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 14:10:33 +03:00

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 {