forked from mirrors/nixpkgs
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.
This commit is contained in:
parent
bd61f91fd1
commit
a9dcb0276c
|
@ -38,6 +38,7 @@ stdenv.mkDerivation rec {
|
||||||
"--with-config-file=${placeholder "out"}/etc/man_db.conf"
|
"--with-config-file=${placeholder "out"}/etc/man_db.conf"
|
||||||
"--with-systemdtmpfilesdir=${placeholder "out"}/lib/tmpfiles.d"
|
"--with-systemdtmpfilesdir=${placeholder "out"}/lib/tmpfiles.d"
|
||||||
"--with-systemdsystemunitdir=${placeholder "out"}/lib/systemd/system"
|
"--with-systemdsystemunitdir=${placeholder "out"}/lib/systemd/system"
|
||||||
|
"--with-pager=less"
|
||||||
] ++ stdenv.lib.optional stdenv.hostPlatform.isDarwin [
|
] ++ stdenv.lib.optional stdenv.hostPlatform.isDarwin [
|
||||||
"ac_cv_func__set_invalid_parameter_handler=no"
|
"ac_cv_func__set_invalid_parameter_handler=no"
|
||||||
"ac_cv_func_posix_fadvise=no"
|
"ac_cv_func_posix_fadvise=no"
|
||||||
|
|
Loading…
Reference in a new issue