mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
The overlay allows extending any instance of nixpkgs-lib into a nixvim-compatible "extended" instance.
14 lines
324 B
Nix
14 lines
324 B
Nix
{ 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; };
|
|
}
|