mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-21 12:38:41 +03:00
Replace $HYDRA_DISALLOW_UNFREE with $NIXPKGS_ALLOW_UNFREE
We've never used this environment variable in Hydra (except for a few days). This is also more consistent with $NIXPKGS_ALLOW_BROKEN.
This commit is contained in:
parent
e09250d41c
commit
627923d5b7
@ -14,7 +14,7 @@ let lib = import ../../../lib; in lib.makeOverridable (
|
||||
|
||||
let
|
||||
|
||||
allowUnfree = config.allowUnfree or false && builtins.getEnv "HYDRA_DISALLOW_UNFREE" != "1";
|
||||
allowUnfree = config.allowUnfree or false || builtins.getEnv "NIXPKGS_ALLOW_UNFREE" == "1";
|
||||
|
||||
allowBroken = builtins.getEnv "NIXPKGS_ALLOW_BROKEN" == "1";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user