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

@ -8,8 +8,6 @@
system ? pkgs.stdenv.hostPlatform.system,
}:
let
nixvimLib = helpers.extendedLib;
autoArgs = pkgs // {
inherit
helpers
@ -18,7 +16,7 @@ let
system
;
nixpkgsLib = lib;
lib = nixvimLib;
lib = lib.extend self.lib.overlay;
inherit (self.legacyPackages.${system})
makeNixvimWithModule
nixvimConfiguration