diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-06-01 12:48:13 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-06-01 12:55:46 +0200 |
commit | 587473c574079a72e0c0c57c2ccd106511e5d2f3 (patch) | |
tree | 41e49bb537510537d2ade6d0cc9c319c68e7aa6a /lib/modules.nix | |
parent | 4e6697dcb6baba9a96de5d60451bcd025833a1e8 (diff) |
Fix display of deprecated option definition warnings
Looks like this was accidentally left commented out by
5f077e229625583072ebf63ea48b11170771b0ed.
Diffstat (limited to 'lib/modules.nix')
-rw-r--r-- | lib/modules.nix | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/modules.nix b/lib/modules.nix index 12ec7004d1ee..e2fa3d7fbf0c 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)); }; |