3
0
Fork 0
forked from mirrors/nixpkgs

Add missing arguments to the "notHandle" functions of mergeOptionSets and filterOptionSets.

svn path=/nixpkgs/trunk/; revision=13872
This commit is contained in:
Nicolas Pierron 2009-01-25 22:37:10 +00:00
parent 74df154f73
commit c333a6ab6b

View file

@ -564,14 +564,14 @@ rec {
else throw "Not defined."
else opt.merge values
);
notHandle = throw "Used without option declaration.";
notHandle = opts: throw "Used without option declaration.";
};
# Keep all option declarations.
filterOptionSets =
handleOptionSets {
export = opt: values: opt;
notHandle = {};
notHandle = opts: {};
};
# Evaluate a list of option sets that would be merged with the