3
0
Fork 0
forked from mirrors/nixpkgs

lib.modules: Remove redundant fixupOptionType in option injection

This commit is contained in:
Robert Hensing 2022-02-28 23:29:15 +01:00
parent 8baea8b82c
commit 6b077c47ff

View file

@ -527,7 +527,7 @@ rec {
# d. magically combine (a) and (c).
# All of the above are merely syntax sugar though.
then
let opt = fixupOptionType loc (mergeOptionDecls loc (map optionTreeToOption decls));
let opt = mergeOptionDecls loc (map optionTreeToOption decls);
in {
matchedOptions = evalOptionValue loc opt defns';
unmatchedDefns = [];