2016-03-09 11:40:17 +00:00
|
|
|
#!@shell@
|
2012-03-20 18:49:44 +00:00
|
|
|
|
|
|
|
OLDPATH="$PATH"
|
|
|
|
OLDTZ="$TZ"
|
2014-07-12 20:51:28 +01: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 13:45:20 +01:00
|
|
|
export NIX_MYENV_NAME="@name@"
|
2012-03-20 18:49:44 +00:00
|
|
|
export buildInputs
|
|
|
|
export NIX_STRIP_DEBUG=0
|
|
|
|
export TZ="$OLDTZ"
|
2014-07-12 20:51:28 +01:00
|
|
|
export http_proxy="$OLD_http_proxy"
|
|
|
|
export ftp_proxy="$OLD_ftp_proxy"
|
2012-03-20 18:49:44 +00:00
|
|
|
|
2014-07-12 14:32:28 +01:00
|
|
|
if test $# -gt 0; then
|
|
|
|
exec "$@"
|
|
|
|
else
|
|
|
|
exec @shell@
|
|
|
|
fi
|
2013-04-13 18:10:50 +01:00
|
|
|
|