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:
cupiditas
2025-01-20 01:08:57 +10:00
committed by GitHub
parent 97d7946b5e
commit f8ef4541bb

View File

@@ -36,7 +36,7 @@ let
overlayType = mkOptionType {
name = "nixpkgs-overlay";
description = "nixpkgs overlay";
check = builtins.isFunction;
check = lib.isFunction;
merge = lib.mergeOneOption;
};