mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-07 04:34:46 +00: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:
parent
1bccbc30cd
commit
b89a65e54c
@ -38,6 +38,9 @@ let
|
|||||||
description = ''
|
description = ''
|
||||||
Name of the kernel file to be passed to the bootloader.
|
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 {
|
system.copySystemConfiguration = pkgs.lib.mkOption {
|
||||||
|
Loading…
Reference in New Issue
Block a user