3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/build-support/fetchgit
Rok Garbas 36fc03edb6 fetchgit: import impure GIT_PROXY_COMMAND and SOCKS_SERVER, fixes #8605
These environment variables allow using fetchgit with git:// URLs using
the SOCKS proxy technique described in 'Using Git with a SOCKS proxy':

  http://www.patthoyts.tk/blog/using-git-with-socks-proxy.html

Briefly, GIT_PROXY_COMMAND is set to a script which invokes connect[1],
which reads SOCKS_PROXY, which might be pointing to a local instance of
'ssh -D'.

[1] pkgs/tools/networking/connect
2016-01-20 02:18:22 +01:00
..
builder.sh Use the nix provided shell. 2015-11-16 17:20:11 +01:00
default.nix fetchgit: import impure GIT_PROXY_COMMAND and SOCKS_SERVER, fixes #8605 2016-01-20 02:18:22 +01:00
nix-prefetch-git nix-prefetch-git: make sure the script is interpreted by bash 2015-11-27 11:17:50 +01:00
private.nix Separate fetchgitPrivate into a separate file 2014-07-16 18:05:56 -04:00