Add a flag ‘config.allowBroken’

This commit is contained in:
Eelco Dolstra 2014-04-09 00:13:52 +02:00
parent 627923d5b7
commit 331fa06c79

View file

@ -16,7 +16,7 @@ let
allowUnfree = config.allowUnfree or false || builtins.getEnv "NIXPKGS_ALLOW_UNFREE" == "1";
allowBroken = builtins.getEnv "NIXPKGS_ALLOW_BROKEN" == "1";
allowBroken = config.allowBroken or false || builtins.getEnv "NIXPKGS_ALLOW_BROKEN" == "1";
unsafeGetAttrPos = builtins.unsafeGetAttrPos or (n: as: null);