diff options
author | Robert Scott <github@humanleg.org.uk> | 2022-05-20 19:31:18 +0100 |
---|---|---|
committer | Alexander Foremny <aforemny@posteo.de> | 2022-05-30 16:27:34 +0800 |
commit | 7906ea6d9d938c7f4221c305cfbcc9f8ba63804a (patch) | |
tree | d38dd28d6bbe4f4dd6a56b800999edc9f0e4f8f0 /pkgs/stdenv | |
parent | 095eb9153381d240e2ba3e05716b3ce7fda85080 (diff) |
allowNonSourcePredicate: use example of categorical permissivity
Co-authored-by: Adam Joseph <54836058+a-m-joseph@users.noreply.github.com>
Diffstat (limited to 'pkgs/stdenv')
-rw-r--r-- | pkgs/stdenv/generic/check-meta.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/stdenv/generic/check-meta.nix b/pkgs/stdenv/generic/check-meta.nix index 5252711c8ca0..96e2a40b2de9 100644 --- a/pkgs/stdenv/generic/check-meta.nix +++ b/pkgs/stdenv/generic/check-meta.nix @@ -103,7 +103,7 @@ let # {pkgs, ...}: # { # allowNonSource = false; - # allowNonSourcePredicate = (x: pkgs.lib.hasPrefix "pulumi" x.name); + # allowNonSourcePredicate = with lib.lists; pkg: !(any (p: !p.isSource && p!=lib.sourceTypes.binaryFirmware) (toList pkg.meta.sourceProvenance)); # } allowNonSourcePredicate = config.allowNonSourcePredicate or (x: false); |