about summary refs log tree commit diff
path: root/pkgs/tools/misc/man-db
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2019-09-09 23:56:18 -0400
committerMatthew Bauer <mjbauer95@gmail.com>2019-09-09 23:56:18 -0400
commita9dcb0276c14fe2ddfb134b2c403e5881e1b2bd8 (patch)
treebdac7918ea48401f03346b7264d2cca909ba2e6d /pkgs/tools/misc/man-db
parentbd61f91fd10ee730c66b721876c728e62f23691b (diff)
man-db: set less as default pager
This is the default on most systems, most users want this one. The
value can still be overriden with the “PAGER” value.
Diffstat (limited to 'pkgs/tools/misc/man-db')
-rw-r--r--pkgs/tools/misc/man-db/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/tools/misc/man-db/default.nix b/pkgs/tools/misc/man-db/default.nix
index df1a2daddb910..a8fb7eea97c42 100644
--- a/pkgs/tools/misc/man-db/default.nix
+++ b/pkgs/tools/misc/man-db/default.nix
@@ -38,6 +38,7 @@ stdenv.mkDerivation rec {
     "--with-config-file=${placeholder "out"}/etc/man_db.conf"
     "--with-systemdtmpfilesdir=${placeholder "out"}/lib/tmpfiles.d"
     "--with-systemdsystemunitdir=${placeholder "out"}/lib/systemd/system"
+    "--with-pager=less"
   ] ++ stdenv.lib.optional stdenv.hostPlatform.isDarwin [
     "ac_cv_func__set_invalid_parameter_handler=no"
     "ac_cv_func_posix_fadvise=no"