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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
365 B
Nix
Raw 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,
helpers,
}:
lib.extend (
final: prev: {
# Include our custom lib
nixvim = helpers;
# Merge in our maintainers
maintainers = prev.maintainers // import ./maintainers.nix;
2024-08-03 16:28:41 +01:00
# Merge in our custom types
types = call ./types.nix { } // prev.types;
}
)