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:
+2
-1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user