mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 16:39:00 +02:00
18 lines
365 B
Nix
18 lines
365 B
Nix
# Extends nixpkg's lib with our functions, as expected by our modules
|
|
{
|
|
call,
|
|
lib,
|
|
helpers,
|
|
}:
|
|
lib.extend (
|
|
final: prev: {
|
|
# Include our custom lib
|
|
nixvim = helpers;
|
|
|
|
# Merge in our maintainers
|
|
maintainers = prev.maintainers // import ./maintainers.nix;
|
|
|
|
# Merge in our custom types
|
|
types = call ./types.nix { } // prev.types;
|
|
}
|
|
)
|