check-meta: fix comment (#175517)
* check-meta: fix comment * Apply suggestions from code review
This commit is contained in:
parent
f1c9c23aad
commit
4c3e9f091a
|
@ -98,10 +98,10 @@ let
|
||||||
|
|
||||||
# Allow granular checks to allow only some non-source-built packages
|
# Allow granular checks to allow only some non-source-built packages
|
||||||
# Example:
|
# Example:
|
||||||
# {pkgs, ...}:
|
# { pkgs, ... }:
|
||||||
# {
|
# {
|
||||||
# allowNonSource = false;
|
# allowNonSource = false;
|
||||||
# allowNonSourcePredicate = with lib.lists; pkg: !(any (p: !p.isSource && p!=lib.sourceTypes.binaryFirmware) (toList pkg.meta.sourceProvenance));
|
# allowNonSourcePredicate = with pkgs.lib.lists; pkg: !(any (p: !p.isSource && p != lib.sourceTypes.binaryFirmware) (toList pkg.meta.sourceProvenance));
|
||||||
# }
|
# }
|
||||||
allowNonSourcePredicate = config.allowNonSourcePredicate or (x: false);
|
allowNonSourcePredicate = config.allowNonSourcePredicate or (x: false);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue