mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
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 New Issue
Block a user