mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-26 15:06:45 +00:00
flake: improve deprecation messages for old neovim-flake
modules'
This commit is contained in:
parent
8ff50562d7
commit
56a6e0573c
1 changed files with 8 additions and 12 deletions
20
flake.nix
20
flake.nix
|
@ -30,29 +30,25 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
homeManagerModules = {
|
homeManagerModules = {
|
||||||
|
nvf = import ./flake/modules/home-manager.nix self.packages lib;
|
||||||
|
default = self.homeManagerModules.nvf;
|
||||||
neovim-flake =
|
neovim-flake =
|
||||||
lib.warn ''
|
lib.warn ''
|
||||||
homeManagerModules.neovim-flake has been deprecated.
|
'homeManagerModules.neovim-flake' has been deprecated, and will be removed
|
||||||
Plese use the homeManagerModules.nvf instead
|
in a future release. Please use 'homeManagerModules.nvf' instead.
|
||||||
''
|
''
|
||||||
self.homeManagerModules.nvf;
|
self.homeManagerModules.nvf;
|
||||||
|
|
||||||
nvf = import ./flake/modules/home-manager.nix self.packages lib;
|
|
||||||
|
|
||||||
default = self.homeManagerModules.nvf;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
nixosModules = {
|
nixosModules = {
|
||||||
|
nvf = import ./flake/modules/nixos.nix self.packages lib;
|
||||||
|
default = self.nixosModules.nvf;
|
||||||
neovim-flake =
|
neovim-flake =
|
||||||
lib.warn ''
|
lib.warn ''
|
||||||
nixosModules.neovim-flake has been deprecated.
|
'nixosModules.neovim-flake' has been deprecated, and will be removed
|
||||||
Please use the nixosModules.nvf instead
|
in a future release. Please use 'nixosModules.nvf' instead.
|
||||||
''
|
''
|
||||||
self.nixosModules.nvf;
|
self.nixosModules.nvf;
|
||||||
|
|
||||||
nvf = import ./flake/modules/nixos.nix self.packages lib;
|
|
||||||
|
|
||||||
default = self.nixosModules.nvf;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue