On 3/16/12 7:19 AM, Eelco Dolstra wrote:
> 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).
>

Does this mean that only one definition is allowed at all, or that NixOS 
has some way of determining which definition to use in case multiple are 
given?

~Shea
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to