summaryrefslogtreecommitdiffstats
path: root/env.nix
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2014-12-27 12:40:23 +0100
committertv <tv@shackspace.de>2014-12-27 12:40:23 +0100
commit88faa0955ea79986bf9d76a7892dd694fe1d3594 (patch)
treea473b8fcffcecaceb95a92165419a9f0286bd37c /env.nix
parent8ba04b360b69ad341c1cc42534ea826018eaaced (diff)
env.nix: ~/.env-home-reduction; ref load-env 58f2234
Diffstat (limited to 'env.nix')
-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}
'';