lol

Merge pull request #32525 from dtzWill/fix/allowInsecurePredicate

fix use of config-specified allowInsecurePredicate

authored by

Orivej Desh and committed by
GitHub
ea1f6c38 88f7171f

+1 -1
+1 -1
pkgs/stdenv/generic/check-meta.nix
··· 64 !allowUnfreePredicate attrs; 65 66 allowInsecureDefaultPredicate = x: builtins.elem x.name (config.permittedInsecurePackages or []); 67 - allowInsecurePredicate = x: (config.allowUnfreePredicate or allowInsecureDefaultPredicate) x; 68 69 hasAllowedInsecure = attrs: 70 (attrs.meta.knownVulnerabilities or []) == [] ||
··· 64 !allowUnfreePredicate attrs; 65 66 allowInsecureDefaultPredicate = x: builtins.elem x.name (config.permittedInsecurePackages or []); 67 + allowInsecurePredicate = x: (config.allowInsecurePredicate or allowInsecureDefaultPredicate) x; 68 69 hasAllowedInsecure = attrs: 70 (attrs.meta.knownVulnerabilities or []) == [] ||