check-meta: fix comment (#175517)

* check-meta: fix comment

* Apply suggestions from code review
This commit is contained in:
Sandro 2022-06-02 01:38:57 +02:00 committed by GitHub
parent f1c9c23aad
commit 4c3e9f091a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -98,10 +98,10 @@ let
# Allow granular checks to allow only some non-source-built packages
# Example:
# {pkgs, ...}:
# { pkgs, ... }:
# {
# 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);