mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-24 03:43:53 +03:00
opensp: display ftp_proxy and http_proxy during build
This commit is contained in:
parent
a00a8d0711
commit
60d0005a0c
@ -9,6 +9,14 @@ 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+=(addSGMLCatalogs)
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user