[Nix-dev] Garbled man pages/incomplete environment

Jeffrey David Johnson jefdaj at gmail.com
Sun Jul 5 21:08:51 CEST 2015


Yeah I think that's what caused it. I got all my normal environment variables back by removing the lib.mkForce and using lib.mkOverride instead on just NIX_PATH, and now my PAGER is set to that and man pages work.
Jeff

On Sun, 05 Jul 2015 20:53:35 +0200
Eelco Dolstra <eelco.dolstra at logicblox.com> wrote:

> Hi,
> 
> On 04/07/15 18:24, Jeffrey David Johnson wrote:
> 
> > Man pages are hard to read because they're full of control characters. For example:
> > 
> > NIXOS-REBUILD(8)              NixOS Reference Pages              NIXOS-REBUILD(8)
> > 
> > ESC[1mNAMEESC[0m
> 
> This can be a symptom of $PAGER not being set to "less -R".
> 
> -- 
> Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev


More information about the nix-dev mailing list