diff options
author | Robert Schütz <nix@dotlambda.de> | 2022-06-13 17:34:57 +0000 |
---|---|---|
committer | Robert Schütz <nix@dotlambda.de> | 2022-06-13 19:08:17 +0000 |
commit | 38c776b6799195fae58808b19d9b19d198ca2896 (patch) | |
tree | 7458197ddee758757142a4bf5222958a67fc24ce /pkgs | |
parent | 1e77e1182712a62fd93ea6f3e2b0a660e257c888 (diff) |
stdenv/check-meta: support NIXPKGS_ALLOW_NONSOURCE=0
Diffstat (limited to 'pkgs')
-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 1479671db4174..f9bea506af6ed 100644 --- a/pkgs/stdenv/generic/check-meta.nix +++ b/pkgs/stdenv/generic/check-meta.nix @@ -21,7 +21,7 @@ let || builtins.getEnv "NIXPKGS_ALLOW_UNFREE" == "1"; allowNonSource = config.allowNonSource or true - || builtins.getEnv "NIXPKGS_ALLOW_NONSOURCE" == "1"; + && builtins.getEnv "NIXPKGS_ALLOW_NONSOURCE" != "0"; allowlist = config.allowlistedLicenses or config.whitelistedLicenses or []; blocklist = config.blocklistedLicenses or config.blacklistedLicenses or []; |