mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 04:49:01 +02:00
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:
parent
d93c9b0789
commit
c4cfaf4192
|
@ -51,6 +51,8 @@ let
|
||||||
in rec {
|
in rec {
|
||||||
inherit mkTmuxPlugin;
|
inherit mkTmuxPlugin;
|
||||||
|
|
||||||
|
mkDerivation = throw "tmuxPlugins.mkDerivation is deprecated, use tmuxPlugins.mkTmuxPlugin instead"; # added 2021-03-14
|
||||||
|
|
||||||
battery = mkTmuxPlugin {
|
battery = mkTmuxPlugin {
|
||||||
pluginName = "battery";
|
pluginName = "battery";
|
||||||
version = "unstable-2019-07-04";
|
version = "unstable-2019-07-04";
|
||||||
|
|
Loading…
Reference in a new issue