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