git.iko.soy/typeable/nixpkgs
on master help sign in
opensp: display ftp_proxy and http_proxy during build
commit60d0005a0c02b233653f8089456270a0ba13b59d authorJohn Wiegley <johnw@newartisans.com> dateFri 2 Jan 2015, 14:50 (12 years ago) parenta00a8d0
1 file changed+8
pkgs/tools/text/sgml/opensp/setup-hook.sh+8
pkgs/tools/text/sgml/opensp/setup-hook.sh+8
@@ -9,6 +9,14 @@ addSGMLCatalogs () {
99if test -z "$sgmlHookDone"; then
1010 sgmlHookDone=1
1111
12+ # Set http_proxy and ftp_proxy to a invalid host to prevent
13+ # xmllint and xsltproc from trying to download DTDs from the
14+ # network even when --nonet is not given. That would be impure.
15+ # (Note that .invalid is a reserved domain guaranteed not to
16+ # work.)
17+ export http_proxy=http://nodtd.invalid/
18+ export ftp_proxy=http://nodtd.invalid/
19+
1220 export SGML_CATALOG_FILES
1321 envHooks+=(addSGMLCatalogs)
1422fi