Update the function used to merge option sets.
svn path=/nixos/branches/fix-style/; revision=13853
This commit is contained in:
parent
67edd3720f
commit
9fa758c657
@ -11,14 +11,11 @@ rec {
|
|||||||
systemPathList
|
systemPathList
|
||||||
];
|
];
|
||||||
|
|
||||||
noOption = name: values:
|
|
||||||
abort "${name}: Used without option declaration.";
|
|
||||||
|
|
||||||
# Make a configuration object from which we can retrieve option
|
# Make a configuration object from which we can retrieve option
|
||||||
# values.
|
# values.
|
||||||
config =
|
config =
|
||||||
pkgs.lib.fixOptionSets
|
pkgs.lib.fixOptionSets
|
||||||
(pkgs.lib.mergeOptionSets noOption)
|
pkgs.lib.newMergeOptionSets
|
||||||
pkgs configComponents;
|
pkgs configComponents;
|
||||||
|
|
||||||
optionDeclarations =
|
optionDeclarations =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user