mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-24 04:35:08 +02:00
wrappers: move assertion propagation to _shared.nix
This commit is contained in:
parent
6da94195c2
commit
87509bac1f
4 changed files with 36 additions and 42 deletions
|
@ -53,6 +53,9 @@ in
|
|||
_module.args.nixvimLib = lib.mkDefault config.lib.nixvim.extendedLib;
|
||||
}
|
||||
|
||||
# Propagate nixvim's assertions to the host modules
|
||||
(lib.mkIf cfg.enable { inherit (cfg) warnings assertions; })
|
||||
|
||||
# Propagate extraFiles to the host modules
|
||||
(optionalAttrs (filesOpt != null) (
|
||||
mkIf (!cfg.wrapRc) (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue