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:
parent
1bccbc30cd
commit
b89a65e54c
1 changed files with 3 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue