diff options
author | Paul Colomiets <paul@colomiets.name> | 2014-06-29 15:45:20 +0300 |
---|---|---|
committer | Paul Colomiets <paul@colomiets.name> | 2014-06-29 15:45:20 +0300 |
commit | 6f946bbb2a97c64100cb1a7b49c5951537ed6b7c (patch) | |
tree | 4ee0a2f77cff93d5c7f71cb0e718869d4450b374 /pkgs | |
parent | a278c3dfa80a514bd25f46350568c4a8ddb373dc (diff) |
Add `NIX_MYENV_NAME` environment variable in `myEnvFun`
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/misc/my-env/loadenv.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/misc/my-env/loadenv.sh b/pkgs/misc/my-env/loadenv.sh index 6752d1c03b5f0..a162f8b853ac9 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" |