pytrainer: unpin python 3.10
[NixPkgs.git] / pkgs / misc / my-env / loadenv.sh
blob1688d2f158fb02c535e8dd735b91e2163c8ead01
1 #!@shell@
3 OLDPATH="$PATH"
4 OLDTZ="$TZ"
5 OLD_http_proxy="$http_proxy"
6 OLD_ftp_proxy="$http_proxy"
7 source @myenvpath@
9 PATH="$PATH:$OLDPATH"
10 export PS1="\n@name@:[\u@\h:\w]\$ "
11 export NIX_MYENV_NAME="@name@"
12 export buildInputs
13 export TZ="$OLDTZ"
14 export http_proxy="$OLD_http_proxy"
15 export ftp_proxy="$OLD_ftp_proxy"
17 if test $# -gt 0; then
18 exec "$@"
19 else
20 exec @shell@