git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #128916 from heisenberg33/patch-4

Fix default pager environment

commite16c267e4899b2d87655f0c45ec96235bfe6a258 authorRobert Hensing <roberth@users.noreply.github.com> dateTue 7 Sep 2021, 12:45 (5 years ago) parent3f14c850e7b4e6
1 file changed+2−1
nixos/modules/programs/environment.nix+2−1
nixos/modules/programs/environment.nix+2−1
@@ -18,7 +18,8 @@ in
1818
1919 environment.variables =
2020 { NIXPKGS_CONFIG = "/etc/nix/nixpkgs-config.nix";
21− PAGER = mkDefault "less -R";
21+ PAGER = mkDefault "less";
22+ LESS = mkDefault "-R";
2223 EDITOR = mkDefault "nano";
2324 XDG_CONFIG_DIRS = [ "/etc/xdg" ]; # needs to be before profile-relative paths to allow changes through environment.etc
2425 };