2016-03-09 14:40:17 +03:00
|
|
|
#!@shell@
|
2012-03-20 22:49:44 +04:00
|
|
|
|
|
|
|
OLDPATH="$PATH"
|
|
|
|
OLDTZ="$TZ"
|
2014-07-12 23:51:28 +04:00
|
|
|
OLD_http_proxy="$http_proxy"
|
|
|
|
OLD_ftp_proxy="$http_proxy"
|
2012-03-20 22:49:44 +04:00
|
|
|
source @myenvpath@
|
|
|
|
|
|
|
|
PATH="$PATH:$OLDPATH"
|
|
|
|
export PS1="\n@name@:[\u@\h:\w]\$ "
|
2014-06-29 16:45:20 +04:00
|
|
|
export NIX_MYENV_NAME="@name@"
|
2012-03-20 22:49:44 +04:00
|
|
|
export buildInputs
|
|
|
|
export TZ="$OLDTZ"
|
2014-07-12 23:51:28 +04:00
|
|
|
export http_proxy="$OLD_http_proxy"
|
|
|
|
export ftp_proxy="$OLD_ftp_proxy"
|
2012-03-20 22:49:44 +04:00
|
|
|
|
2014-07-12 17:32:28 +04:00
|
|
|
if test $# -gt 0; then
|
|
|
|
exec "$@"
|
|
|
|
else
|
|
|
|
exec @shell@
|
|
|
|
fi
|
2013-04-13 21:10:50 +04:00
|
|
|
|