vimPlugins: Store deprecation date.

This commit is contained in:
ryneeverett
2020-03-27 16:19:54 +00:00
parent 7cc024b59e
commit 25fea4538e
3 changed files with 23 additions and 7 deletions
+2 -2
View File
@@ -31,8 +31,8 @@ let
(checkInPkgs n alias)))
aliases;
deprecations = lib.mapAttrs (old: new:
throw "${old} was renamed to ${new}. Please update to ${new}."
deprecations = lib.mapAttrs (old: info:
throw "${old} was renamed to ${info.new} on ${info.date}. Please update to ${info.new}."
) (builtins.fromJSON (builtins.readFile ./deprecated.json));
in