forked from mirrors/nixpkgs
stdenv/check-meta: support NIXPKGS_ALLOW_NONSOURCE=0
This commit is contained in:
parent
1e77e11827
commit
38c776b679
|
@ -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 [];
|
||||
|
|
Loading…
Reference in a new issue