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:
Eelco Dolstra 2014-04-09 00:12:48 +02:00
parent e09250d41c
commit 627923d5b7

View File

@ -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";