2012-03-20 19:49:44 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
OLDPATH="$PATH"
|
|
|
|
OLDTZ="$TZ"
|
|
|
|
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 15:32:28 +02:00
|
|
|
if test $# -gt 0; then
|
|
|
|
exec "$@"
|
|
|
|
else
|
|
|
|
exec @shell@
|
|
|
|
fi
|
2013-04-13 19:10:50 +02:00
|
|
|
|