mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
lib/overlay: init
The overlay allows extending any instance of nixpkgs-lib into a nixvim-compatible "extended" instance.
This commit is contained in:
parent
450cccf472
commit
aefab28b3b
6 changed files with 27 additions and 25 deletions
|
@ -62,7 +62,7 @@ in
|
|||
lib.nixvim = lib.mkDefault self.lib.nixvim;
|
||||
|
||||
# Make nixvim's "extended" lib available to the host's module args
|
||||
_module.args.nixvimLib = lib.mkDefault config.lib.nixvim.extendedLib;
|
||||
_module.args.nixvimLib = lib.mkDefault (lib.extend self.lib.overlay);
|
||||
}
|
||||
|
||||
# Propagate nixvim's assertions to the host modules
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue