Fix display of deprecated option definition warnings

Looks like this was accidentally left commented out by
5f077e2296.
This commit is contained in:
Eelco Dolstra 2016-06-01 12:48:13 +02:00
parent 4e6697dcb6
commit 587473c574

View File

@ -554,12 +554,10 @@ rec {
apply = x: use (toOf config);
});
config = {
/*
warnings =
let opt = getAttrFromPath from options; in
optional (warn && opt.isDefined)
"The option `${showOption from}' defined in ${showFiles opt.files} has been renamed to `${showOption to}'.";
*/
} // setAttrByPath to (mkAliasDefinitions (getAttrFromPath from options));
};