my-env: Preserve http_proxy and ftp_proxy variables

There are few build scripts which set them to `nodtd.invalid` to disable
downloading files by buildscript. But for user environment we should
restore original values

+4
+4
pkgs/misc/my-env/loadenv.sh
··· 2 2 3 3 OLDPATH="$PATH" 4 4 OLDTZ="$TZ" 5 + OLD_http_proxy="$http_proxy" 6 + OLD_ftp_proxy="$http_proxy" 5 7 source @myenvpath@ 6 8 7 9 PATH="$PATH:$OLDPATH" ··· 10 12 export buildInputs 11 13 export NIX_STRIP_DEBUG=0 12 14 export TZ="$OLDTZ" 15 + export http_proxy="$OLD_http_proxy" 16 + export ftp_proxy="$OLD_ftp_proxy" 13 17 14 18 if test $# -gt 0; then 15 19 exec "$@"