Add missing arguments to the "notHandle" functions of mergeOptionSets and filterOptionSets.
svn path=/nixpkgs/trunk/; revision=13872
This commit is contained in:
parent
74df154f73
commit
c333a6ab6b
|
@ -564,14 +564,14 @@ rec {
|
||||||
else throw "Not defined."
|
else throw "Not defined."
|
||||||
else opt.merge values
|
else opt.merge values
|
||||||
);
|
);
|
||||||
notHandle = throw "Used without option declaration.";
|
notHandle = opts: throw "Used without option declaration.";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Keep all option declarations.
|
# Keep all option declarations.
|
||||||
filterOptionSets =
|
filterOptionSets =
|
||||||
handleOptionSets {
|
handleOptionSets {
|
||||||
export = opt: values: opt;
|
export = opt: values: opt;
|
||||||
notHandle = {};
|
notHandle = opts: {};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Evaluate a list of option sets that would be merged with the
|
# Evaluate a list of option sets that would be merged with the
|
||||||
|
|
Loading…
Reference in a new issue