diff options
author | Thomas Tuegel <ttuegel@gmail.com> | 2015-04-29 11:33:28 -0500 |
---|---|---|
committer | Thomas Tuegel <ttuegel@gmail.com> | 2015-04-29 11:33:28 -0500 |
commit | 1fe28a11327ad7695ee9f023c74bd47894494bcb (patch) | |
tree | e9709816cebecf2e31a36ffcb3e1f0e607175bdc /pkgs/build-support | |
parent | 85aafda509b626e68595facba1aeb7da336ce537 (diff) | |
parent | 182acabbae644182ee6dafc9779e63abd7991f8c (diff) | |
download | nixlib-1fe28a11327ad7695ee9f023c74bd47894494bcb.tar nixlib-1fe28a11327ad7695ee9f023c74bd47894494bcb.tar.gz nixlib-1fe28a11327ad7695ee9f023c74bd47894494bcb.tar.bz2 nixlib-1fe28a11327ad7695ee9f023c74bd47894494bcb.tar.lz nixlib-1fe28a11327ad7695ee9f023c74bd47894494bcb.tar.xz nixlib-1fe28a11327ad7695ee9f023c74bd47894494bcb.tar.zst nixlib-1fe28a11327ad7695ee9f023c74bd47894494bcb.zip |
Merge remote-tracking branch 'upstream/master' into staging
Diffstat (limited to 'pkgs/build-support')
-rw-r--r-- | pkgs/build-support/fetchhg/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/build-support/fetchhg/default.nix b/pkgs/build-support/fetchhg/default.nix index 4675cbe6ec80..26426ce7d83e 100644 --- a/pkgs/build-support/fetchhg/default.nix +++ b/pkgs/build-support/fetchhg/default.nix @@ -6,13 +6,17 @@ stdenv.mkDerivation { builder = ./builder.sh; buildInputs = [mercurial]; + impureEnvVars = [ + "http_proxy" "https_proxy" "ftp_proxy" "all_proxy" "no_proxy" + ]; + # Nix <= 0.7 compatibility. id = md5; outputHashAlgo = if md5 != null then "md5" else "sha256"; outputHashMode = "recursive"; outputHash = if md5 != null then md5 else sha256; - + inherit url rev; preferLocalBuild = true; } |