repo.or.cz
/
NixPkgs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
pytrainer: unpin python 3.10
[NixPkgs.git]
/
pkgs
/
misc
/
my-env
/
loadenv.sh
blob
1688d2f158fb02c535e8dd735b91e2163c8ead01
1
#!@shell@
2
3
OLDPATH
=
"
$PATH
"
4
OLDTZ
=
"
$TZ
"
5
OLD_http_proxy
=
"
$http_proxy
"
6
OLD_ftp_proxy
=
"
$http_proxy
"
7
source
@myenvpath@
8
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
"
16
17
if
test
$#
-gt
0
;
then
18
exec
"$@"
19
else
20
exec
@shell@
21
fi
22