From 587473c574079a72e0c0c57c2ccd106511e5d2f3 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 1 Jun 2016 12:48:13 +0200 Subject: [PATCH] Fix display of deprecated option definition warnings Looks like this was accidentally left commented out by 5f077e229625583072ebf63ea48b11170771b0ed. --- lib/modules.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/modules.nix b/lib/modules.nix index 12ec7004d1e..e2fa3d7fbf0 100644 --- a/lib/modules.nix +++ b/lib/modules.nix @@ -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)); };