3
0
Fork 0
forked from mirrors/nixpkgs

stdenv/check-meta: support NIXPKGS_ALLOW_NONSOURCE=0

This commit is contained in:
Robert Schütz 2022-06-13 17:34:57 +00:00
parent 1e77e11827
commit 38c776b679

View file

@ -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 [];