mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-26 18:58:43 +02:00
lib/types: merge into extendedLib
This commit is contained in:
parent
38b09c1621
commit
b414a53649
3 changed files with 13 additions and 5 deletions
|
@ -1,5 +1,9 @@
|
|||
# Extends nixpkg's lib with our functions, as expected by our modules
|
||||
{ lib, helpers }:
|
||||
{
|
||||
call,
|
||||
lib,
|
||||
helpers,
|
||||
}:
|
||||
lib.extend (
|
||||
final: prev: {
|
||||
# Include our custom lib
|
||||
|
@ -7,5 +11,8 @@ lib.extend (
|
|||
|
||||
# Merge in our maintainers
|
||||
maintainers = prev.maintainers // import ./maintainers.nix;
|
||||
|
||||
# Merge in our custom types
|
||||
types = call ./types.nix { } // prev.types;
|
||||
}
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue