diff options
-rw-r--r-- | env.nix | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -10,7 +10,9 @@ let ]; extraCmds = '' - export HISTFILE="\$HOME/.history/env-${name}" + if test -d "\$HOME/.history"; then + export HISTFILE="\$HOME/.history/env-${name}" + fi $(grep export ${hsEnv.outPath}/bin/ghc) ''; |