forked from mirrors/nixpkgs
man-db: explicitly pass section string
Work around a bug in the autoconf setup of man-db: The list of default sections does not include section 0 (zero) despite ``./configure --help`` advertising it. This causes header man pages (e. g. time.h from package posix_man_pages) to be ignored by man(1): $ file /run/current-system/sw/share/man/man0p/time.h.0p.gz /run/current-system/sw/share/man/man0p/time.h.0p.gz: gzip compressed data, from Unix $ man 0p time.h No manual entry for 0p No manual entry for time.h Override the default (as defined in m4/man-arg-sections.m4) until this is fixed upstream.
This commit is contained in:
parent
1b594f05a2
commit
96666650ef
|
@ -28,6 +28,10 @@ stdenv.mkDerivation rec {
|
|||
"--with-systemdtmpfilesdir=\${out}/lib/tmpfiles.d"
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
configureFlagsArray+=("--with-sections=1 n l 8 3 0 2 5 4 9 6 7")
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
# apropos/whatis uses program name to decide whether to act like apropos or whatis
|
||||
# (multi-call binary). `apropos` is actually just a symlink to whatis. So we need to
|
||||
|
|
Loading…
Reference in a new issue