lib/overlay: init

The overlay allows extending any instance of nixpkgs-lib into a
nixvim-compatible "extended" instance.
This commit is contained in:
Matt Sturgeon 2024-12-21 12:58:33 +00:00
parent 450cccf472
commit aefab28b3b
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
6 changed files with 27 additions and 25 deletions

View file

@ -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