about summary refs log tree commit diff
path: root/pkgs/build-support/fetchgit/nix-prefetch-git
diff options
context:
space:
mode:
authorLuca Bruno <lucabru@src.gnome.org>2014-11-09 13:50:48 +0100
committerLuca Bruno <lucabru@src.gnome.org>2014-11-09 13:50:48 +0100
commitf8a833cfb149b35d590e0f63fe194d1f4f9db42a (patch)
tree46ec680b40735c00e80ba67ef34471f9af2054ef /pkgs/build-support/fetchgit/nix-prefetch-git
parent83221f3886c8b74f78edbad5a1541de0837a0f24 (diff)
downloadnixlib-f8a833cfb149b35d590e0f63fe194d1f4f9db42a.tar
nixlib-f8a833cfb149b35d590e0f63fe194d1f4f9db42a.tar.gz
nixlib-f8a833cfb149b35d590e0f63fe194d1f4f9db42a.tar.bz2
nixlib-f8a833cfb149b35d590e0f63fe194d1f4f9db42a.tar.lz
nixlib-f8a833cfb149b35d590e0f63fe194d1f4f9db42a.tar.xz
nixlib-f8a833cfb149b35d590e0f63fe194d1f4f9db42a.tar.zst
nixlib-f8a833cfb149b35d590e0f63fe194d1f4f9db42a.zip
Revert "initialized git repo should use the set http_proxy"
This reverts commit 5af576ff7f4e657c0053f66d6fba03bfd1e97669.

See discussion on https://github.com/NixOS/nixpkgs/commit/5af576f
Diffstat (limited to 'pkgs/build-support/fetchgit/nix-prefetch-git')
-rwxr-xr-xpkgs/build-support/fetchgit/nix-prefetch-git1
1 files changed, 0 insertions, 1 deletions
diff --git a/pkgs/build-support/fetchgit/nix-prefetch-git b/pkgs/build-support/fetchgit/nix-prefetch-git
index 1d172598722b..ff84f5adce97 100755
--- a/pkgs/build-support/fetchgit/nix-prefetch-git
+++ b/pkgs/build-support/fetchgit/nix-prefetch-git
@@ -83,7 +83,6 @@ init_remote(){
     local url=$1
     git init
     git remote add origin $url
-    [ -n "$http_proxy" ] && git config http.proxy $http_proxy
 }
 
 # Return the reference of an hash if it exists on the remote repository.