diff options
Diffstat (limited to 'env.nix')
-rw-r--r-- | env.nix | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -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; |