1 # Deprecated aliases - for backward compatibility
6 # Removing recurseForDerivation prevents derivations of aliased attribute
7 # set to appear while listing all the packages available.
8 removeRecurseForDerivations =
10 if alias.recurseForDerivations or false then
11 lib.removeAttrs alias [ "recurseForDerivations" ]
15 # Disabling distribution prevents top-level aliases for non-recursed package
16 # sets from building on Hydra.
17 removeDistribute = alias: if lib.isDerivation alias then lib.dontDistribute alias else alias;
19 # Make sure that we are not shadowing something from
23 if builtins.hasAttr n overridden then throw "Alias ${n} is still in kakounePlugins" else alias;
28 n: alias: removeDistribute (removeRecurseForDerivations (checkInPkgs n alias))
31 deprecations = lib.mapAttrs (
32 old: info: throw "${old} was renamed to ${info.new} on ${info.date}. Please update to ${info.new}."
33 ) (lib.importJSON ./deprecated.json);
38 kak-auto-pairs = overridden.auto-pairs-kak; # backwards compat, added 2021-01-04
39 kak-buffers = overridden.kakoune-buffers; # backwards compat, added 2021-01-04
40 kak-byline = overridden.byline-kak; # backwards compat, added 2023-10-22
41 kak-fzf = overridden.fzf-kak; # backwards compat, added 2021-01-04
42 kak-powerline = overridden.powerline-kak; # backwards compat, added 2021-01-04
43 kak-prelude = overridden.prelude-kak; # backwards compat, added 2021-01-04
44 kak-vertical-selection = overridden.kakoune-vertical-selection; # backwards compat, added 2021-01-04