summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--env.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/env.nix b/env.nix
index 3997be7..a98b518 100644
--- a/env.nix
+++ b/env.nix
@@ -9,7 +9,7 @@ let
];
extraCmds = with pkgs; ''
- export HISTFILE="\$HOME/.history/env-${name}"
+ export MANPATH=$(ls -d $(echo "$PATH" | tr : \\n | sed -n 's:\(^/nix/store/[^/]\+\).*:\1/share/man:p') 2>/dev/null | tr \\n :)
$(grep export ${hsEnv.outPath}/bin/ghc)
${mkExports staticPkgs}
'';