nixpkgs: lib.isFunction replaces builtins.isFunction in check for overlayType (#6338)
Replaces the check attribute on overlayType with lib.isFunction so it matches the nixpkgs overlayType. This lets functions that were made by lib.setFunctionArgs to be used as overlays just like the nixpkgs overlayType.
This commit is contained in:
parent
97d7946b5e
commit
f8ef4541bb
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ let
|
|||
overlayType = mkOptionType {
|
||||
name = "nixpkgs-overlay";
|
||||
description = "nixpkgs overlay";
|
||||
check = builtins.isFunction;
|
||||
check = lib.isFunction;
|
||||
merge = lib.mergeOneOption;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue