nix-community.nixvim/lib/overlay.nix
Matt Sturgeon aefab28b3b
lib/overlay: init
The overlay allows extending any instance of nixpkgs-lib into a
nixvim-compatible "extended" instance.
2024-12-23 09:58:54 +00:00

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; };
}