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