mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
flake/wrappers: Deprecate homeManagerModules output
This commit is contained in:
parent
e4a27ae810
commit
b37d429468
1 changed files with 8 additions and 2 deletions
|
@ -20,8 +20,14 @@
|
|||
nixvim = import ../wrappers/nixos.nix self;
|
||||
default = self.nixosModules.nixvim;
|
||||
};
|
||||
# For backward compatibility
|
||||
homeManagerModules = self.homeModules;
|
||||
# Alias for backward compatibility
|
||||
# Added 2025-05-25 in https://github.com/nix-community/nixvim/pull/3387
|
||||
homeManagerModules =
|
||||
let
|
||||
cond = lib.trivial.oldestSupportedReleaseIsAtLeast 2505;
|
||||
msg = "nixvim: flake output `homeManagerModules` has been renamed to `homeModules`.";
|
||||
in
|
||||
lib.warnIf cond msg self.homeModules;
|
||||
homeModules = {
|
||||
nixvim = import ../wrappers/hm.nix self;
|
||||
default = self.homeModules.nixvim;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue