tmuxPlugins: add error message for mkDerivation

tmuxPlugins.mkDerivation was renamed to tmuxPlugins.mkTmuxPlugin; we
should fail explicitly for anyone using the old function.
This commit is contained in:
Nicole Prindle 2021-03-14 23:25:06 -04:00 committed by Jonathan Ringer
parent d93c9b0789
commit c4cfaf4192

View file

@ -51,6 +51,8 @@ let
in rec {
inherit mkTmuxPlugin;
mkDerivation = throw "tmuxPlugins.mkDerivation is deprecated, use tmuxPlugins.mkTmuxPlugin instead"; # added 2021-03-14
battery = mkTmuxPlugin {
pluginName = "battery";
version = "unstable-2019-07-04";