[Nix-dev] [Nix-commits] SVN commit: nix - r33139 - nixos/trunk/modules/system/activation

Eelco Dolstra eelco.dolstra at logicblox.com
Fri Mar 16 12:19:42 CET 2012


Hi,

On 16/03/12 04:20, Shea Levy wrote:

> Log:
> Allow multiple definitions of boot.loader.kernelFile as long as they are all the same
...
> +      merge = kernelFiles:
> +        builtins.head (map (f: assert f == builtins.head kernelFiles; f)
> +          kernelFiles);

Wouldn't it be better to just declare the option as having type "uniq"?  That
way there can be only one definition (of the highest priority).

-- 
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/


More information about the nix-dev mailing list