mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-13 10:44:34 +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
14
lib/overlay.nix
Normal file
14
lib/overlay.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{ flake }:
|
||||
final: prev: {
|
||||
# Include our custom lib
|
||||
nixvim = flake.lib.nixvim.override {
|
||||
lib = final;
|
||||
_isExtended = true;
|
||||
};
|
||||
|
||||
# Merge in our maintainers
|
||||
maintainers = prev.maintainers // import ./maintainers.nix;
|
||||
|
||||
# Merge in our custom types
|
||||
types = prev.types // import ./types.nix { lib = final; };
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue