mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 08:36:41 +01:00
42574f52b9
This was removed in 3ea1c30846
.
22 lines
377 B
Bash
22 lines
377 B
Bash
#!@shell@
|
|
|
|
OLDPATH="$PATH"
|
|
OLDTZ="$TZ"
|
|
OLD_http_proxy="$http_proxy"
|
|
OLD_ftp_proxy="$http_proxy"
|
|
source @myenvpath@
|
|
|
|
PATH="$PATH:$OLDPATH"
|
|
export PS1="\n@name@:[\u@\h:\w]\$ "
|
|
export NIX_MYENV_NAME="@name@"
|
|
export buildInputs
|
|
export TZ="$OLDTZ"
|
|
export http_proxy="$OLD_http_proxy"
|
|
export ftp_proxy="$OLD_ftp_proxy"
|
|
|
|
if test $# -gt 0; then
|
|
exec "$@"
|
|
else
|
|
exec @shell@
|
|
fi
|
|
|