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