lib/fetchers.nix: factor out impure proxy vars (#18702)

Apparently everyone just copied those variables, instead of creating a
library constant for them. Some even removed the comment. -.-
This commit is contained in:
Profpatsch
2016-09-17 21:50:01 +02:00
committed by GitHub
parent aa7ab01131
commit 61462c94e6
14 changed files with 29 additions and 72 deletions
+2 -1
View File
@@ -31,6 +31,7 @@ let
# domain-specific
sandbox = import ./sandbox.nix;
fetchers = import ./fetchers.nix;
in
{ inherit trivial
@@ -39,7 +40,7 @@ in
modules options types
licenses platforms systems
debug misc
sandbox;
sandbox fetchers;
}
# !!! don't include everything at top-level; perhaps only the most
# commonly used functions.