summary refs log tree commit diff
path: root/pkgs/stdenv
diff options
context:
space:
mode:
authorEelco Dolstra2008-11-14 10:51:17 +0000
committerEelco Dolstra2008-11-14 10:51:17 +0000
commit4ac5792c71c871beda86c79aa68bef9bc0aba295 (patch)
treeffb75910562fbb8879b1b0b4d96a6ff5fcfa0b0a /pkgs/stdenv
parent8310f66a92da1b3319b057445db2ab31ce090120 (diff)
* Downloads in the stdenv bootstrap should respect the user's proxy
  settings.  Contributed by Jeevakan Suresh.

svn path=/nixpkgs/trunk/; revision=13289
Diffstat (limited to 'pkgs/stdenv')
-rw-r--r--pkgs/stdenv/linux/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/stdenv/linux/default.nix b/pkgs/stdenv/linux/default.nix
index 30516de54cc3..21594bad5a9f 100644
--- a/pkgs/stdenv/linux/default.nix
+++ b/pkgs/stdenv/linux/default.nix
@@ -40,6 +40,7 @@ rec {
     args = [ ./scripts/download.sh ];
     outputHashAlgo = "sha1";
     outputHash = sha1;
+    impureEnvVars = [ "http_proxy" "https_proxy" "ftp_proxy" "all_proxy" "no_proxy" ];
   };
 
   # This function downloads and unpacks a file.