core/lib/fetchers.nix

18 lines
433 B
Nix
Raw Normal View History

2024-05-01 22:14:04 +00:00
# snippets that can be shared by multiple fetchers (pkgs/build-support)
{ lib }:
{
proxyImpureEnvVars = [
# We borrow these environment variables from the caller to allow
# easy proxy configuration. This is impure, but a fixed-output
# derivation like fetchurl is allowed to do so since its result is
# by definition pure.
2024-06-30 08:16:52 +00:00
"http_proxy"
"https_proxy"
"ftp_proxy"
"all_proxy"
"no_proxy"
2024-05-01 22:14:04 +00:00
];
}