2024-08-01 18:26:38 +01:00
|
|
|
# Extends nixpkg's lib with our functions, as expected by our modules
|
2024-08-03 16:28:41 +01:00
|
|
|
{
|
|
|
|
call,
|
|
|
|
lib,
|
2024-09-13 14:58:20 +01:00
|
|
|
self,
|
2024-08-03 16:28:41 +01:00
|
|
|
}:
|
2024-08-01 18:26:38 +01:00
|
|
|
lib.extend (
|
|
|
|
final: prev: {
|
|
|
|
# Include our custom lib
|
2024-09-13 14:58:20 +01:00
|
|
|
nixvim = self;
|
2024-08-01 18:26:38 +01:00
|
|
|
|
|
|
|
# Merge in our maintainers
|
|
|
|
maintainers = prev.maintainers // import ./maintainers.nix;
|
2024-08-03 16:28:41 +01:00
|
|
|
|
|
|
|
# Merge in our custom types
|
2024-09-12 13:05:21 +01:00
|
|
|
types = prev.types // call ./types.nix { };
|
2024-08-01 18:26:38 +01:00
|
|
|
}
|
|
|
|
)
|