diff options
author | tv <tv@shackspace.de> | 2014-12-27 12:30:27 +0100 |
---|---|---|
committer | tv <tv@shackspace.de> | 2014-12-27 12:30:27 +0100 |
commit | be898b212e47b5cc803f1926e21c2f3400d1270c (patch) | |
tree | 4c5dc675afe15e0848b00e9be0f6fcd45961f024 | |
parent | 25ea4a7567ad5b11a4c38e41ac893761efc1c602 (diff) |
env.nix: ~/.env-home-reduction ref load-env 58f2234
-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; |