diff options
author | Will Dietz <w@wdtz.org> | 2017-12-09 14:36:48 -0600 |
---|---|---|
committer | Orivej Desh <orivej@gmx.fr> | 2017-12-09 20:43:30 +0000 |
commit | db7bee240ec974ea83fdefddfa34fd64c93559d4 (patch) | |
tree | fc5b7ab4cab0fb0b654349cf5ae1c9f5533f4df3 /pkgs/stdenv/generic/check-meta.nix | |
parent | d35b53f18af54dbd854be82b4dc982d3cddaf469 (diff) |
stdenv: fix use of config-specified allowInsecurePredicate
for some reason we were checking allowUnfreePredicate instead
Diffstat (limited to 'pkgs/stdenv/generic/check-meta.nix')
-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 03a85633ed61..b9d77d980a12 100644 --- a/pkgs/stdenv/generic/check-meta.nix +++ b/pkgs/stdenv/generic/check-meta.nix @@ -64,7 +64,7 @@ let !allowUnfreePredicate attrs; allowInsecureDefaultPredicate = x: builtins.elem x.name (config.permittedInsecurePackages or []); - allowInsecurePredicate = x: (config.allowUnfreePredicate or allowInsecureDefaultPredicate) x; + allowInsecurePredicate = x: (config.allowInsecurePredicate or allowInsecureDefaultPredicate) x; hasAllowedInsecure = attrs: (attrs.meta.knownVulnerabilities or []) == [] || |