diff options
author | Domen Kožar <domen@dev.si> | 2014-10-28 23:17:52 +0100 |
---|---|---|
committer | Domen Kožar <domen@dev.si> | 2014-10-28 23:20:59 +0100 |
commit | 419f15b060a1f157e76047feb5b9e44392eb273d (patch) | |
tree | b9909bc20138c67433fda787c07bd847e613c2fc /pkgs/tools/text/sgml | |
parent | 2ee8be5db5ab0a405372928ddda2f49a33e23f49 (diff) |
Remove http_proxy/ftp_proxy overrides used in setup hooks.
Partially reverts eaa4db148dc402f7a124bc9c17583067710a7814. Used together with nix-shell it results into unresolvable domains. For example: `nix-shell -p libxml2` spawns a shell with non-working DNS. chroot should remove such unpurities.
Diffstat (limited to 'pkgs/tools/text/sgml')
-rw-r--r-- | pkgs/tools/text/sgml/opensp/setup-hook.sh | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/pkgs/tools/text/sgml/opensp/setup-hook.sh b/pkgs/tools/text/sgml/opensp/setup-hook.sh index 2c9142da10162..72751b85ef605 100644 --- a/pkgs/tools/text/sgml/opensp/setup-hook.sh +++ b/pkgs/tools/text/sgml/opensp/setup-hook.sh @@ -9,14 +9,6 @@ addSGMLCatalogs () { if test -z "$sgmlHookDone"; then sgmlHookDone=1 - # Set http_proxy and ftp_proxy to a invalid host to prevent - # xmllint and xsltproc from trying to download DTDs from the - # network even when --nonet is not given. That would be impure. - # (Note that .invalid is a reserved domain guaranteed not to - # work.) - export http_proxy=http://nodtd.invalid/ - export ftp_proxy=http://nodtd.invalid/ - export SGML_CATALOG_FILES envHooks=(${envHooks[@]} addSGMLCatalogs) fi |