forked from mirrors/nixpkgs
Fix display of deprecated option definition warnings
Looks like this was accidentally left commented out by
5f077e2296
.
This commit is contained in:
parent
4e6697dcb6
commit
587473c574
|
@ -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));
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue