nix(shell): bypass proxy variables using NO_PROXY=*
Tested using: ```sh export HTTP_PROXY=http://localhost:7890 nix-shell postgrest-test-io ``` Closes #4633. Signed-off-by: Taimoor Zaeem <taimoorzaeem@gmail.com>
This commit is contained in:
committed by
Steve Chavez
parent
40a1fea916
commit
d4ba41bd43
@@ -47,6 +47,10 @@ lib.overrideDerivation postgrest.env (
|
||||
''
|
||||
export HISTFILE=.history
|
||||
|
||||
# Bypass proxy for all hosts, it prevents HTTP client failures used in test
|
||||
# suites. See: https://github.com/PostgREST/postgrest/issues/4633 for more info
|
||||
export NO_PROXY=*
|
||||
|
||||
source ${pkgs.bash-completion}/etc/profile.d/bash_completion.sh
|
||||
source ${pkgs.git}/share/git/contrib/completion/git-completion.bash
|
||||
source ${postgrest.hsie.bash-completion}
|
||||
|
||||
Reference in New Issue
Block a user