git.iko.soy/typeable/nixpkgs
on master help sign in
Fix display of deprecated option definition warnings

Looks like this was accidentally left commented out by 5f077e229625583072ebf63ea48b11170771b0ed.

commit587473c574079a72e0c0c57c2ccd106511e5d2f3 authorEelco Dolstra <eelco.dolstra@logicblox.com> dateWed 1 Jun 2016, 12:48 (11 years ago) parent4e6697d
1 file changed−2
lib/modules.nix−2
lib/modules.nix−2
@@ -554,12 +554,10 @@ rec {
554554 apply = x: use (toOf config);
555555 });
556556 config = {
557− /*
558557 warnings =
559558 let opt = getAttrFromPath from options; in
560559 optional (warn && opt.isDefined)
561560 "The option `${showOption from}' defined in ${showFiles opt.files} has been renamed to `${showOption to}'.";
562− */
563561 } // setAttrByPath to (mkAliasDefinitions (getAttrFromPath from options));
564562 };
565563