summaryrefslogtreecommitdiffstats
path: root/env.nix
diff options
context:
space:
mode:
Diffstat (limited to 'env.nix')
-rw-r--r--env.nix7
1 files changed, 1 insertions, 6 deletions
diff --git a/env.nix b/env.nix
index 812bea7..71b6878 100644
--- a/env.nix
+++ b/env.nix
@@ -9,13 +9,8 @@ let
];
extraCmds = with pkgs; ''
- export HISTFILE="\$HOME/.history/env-${pname}"
- export MANPATH=\$MANPATH:${lftp}/share/man
+ 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}
- if test -f "\$HOME/.env-${pname}"; then
- . "\$HOME/.env-${pname}"
- fi
'';
hsEnv = hsPkgs.ghcWithPackagesOld (self: with self;