nix-community.nixvim/lib/extend-lib.nix

19 lines
359 B
Nix
Raw Permalink Normal View History

# Extends nixpkg's lib with our functions, as expected by our modules
2024-08-03 16:28:41 +01:00
{
call,
lib,
self,
2024-08-03 16:28:41 +01:00
}:
lib.extend (
final: prev: {
# Include our custom lib
nixvim = self;
# Merge in our maintainers
maintainers = prev.maintainers // import ./maintainers.nix;
2024-08-03 16:28:41 +01:00
# Merge in our custom types
types = prev.types // call ./types.nix { };
}
)