Re: [Nix-dev] Garbled man pages/incomplete environment

2015-07-05 Thread James Cook
What if you leave out the config.environment.variables // part (just environment.variables = { NIX_PATH = /git/hub/nixcfg; };)? The NixOS config infrastructure is supposed to take care of the // part for you. I think the infinite recursion happens because config.environment.variables is partly

Re: [Nix-dev] Garbled man pages/incomplete environment

2015-07-05 Thread Jeffrey David Johnson
Thanks, you're right that was it! I put the mkForce in while trying to set NIX_PATH, then forgot to remove it after moving that to interactiveShellInit instead. Man pages/environment variables back to normal. That reminds me though, is there a way to force NIX_PATH while leaving the rest in

Re: [Nix-dev] Garbled man pages/incomplete environment

2015-07-05 Thread Jeffrey David Johnson
If I do that it complains that NIX_PATH is set elsewhere already. I think it's merging the attribute sets but not individual attributes. Which is good, wouldn't want it just concatenating strings or something else magical. That's why I originally put in the lib.mkForce to override it. Thanks for

Re: [Nix-dev] Garbled man pages/incomplete environment

2015-07-05 Thread Eelco Dolstra
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

Re: [Nix-dev] Garbled man pages/incomplete environment

2015-07-05 Thread Jeffrey David Johnson
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.dols...@logicblox.com

Re: [Nix-dev] Garbled man pages/incomplete environment

2015-07-04 Thread James Cook
On 4 July 2015 at 09:24, Jeffrey David Johnson jef...@gmail.com wrote: I'm having the same issue described here on the Gentoo forums: https://forums.gentoo.org/viewtopic-t-670013.html Man pages are hard to read because they're full of control characters. For example: NIXOS-REBUILD(8)

[Nix-dev] Garbled man pages/incomplete environment

2015-07-04 Thread Jeffrey David Johnson
I'm having the same issue described here on the Gentoo forums: https://forums.gentoo.org/viewtopic-t-670013.html Man pages are hard to read because they're full of control characters. For example: NIXOS-REBUILD(8) NixOS Reference Pages NIXOS-REBUILD(8)