From 6f946bbb2a97c64100cb1a7b49c5951537ed6b7c Mon Sep 17 00:00:00 2001 From: Paul Colomiets Date: Sun, 29 Jun 2014 15:45:20 +0300 Subject: [PATCH] Add `NIX_MYENV_NAME` environment variable in `myEnvFun` --- pkgs/misc/my-env/loadenv.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/misc/my-env/loadenv.sh b/pkgs/misc/my-env/loadenv.sh index 6752d1c03b5f..a162f8b853ac 100644 --- a/pkgs/misc/my-env/loadenv.sh +++ b/pkgs/misc/my-env/loadenv.sh @@ -6,6 +6,7 @@ source @myenvpath@ PATH="$PATH:$OLDPATH" export PS1="\n@name@:[\u@\h:\w]\$ " +export NIX_MYENV_NAME="@name@" export buildInputs export NIX_STRIP_DEBUG=0 export TZ="$OLDTZ"