Merge pull request #18521 from RamKromberg/fix/man-db

mandb: fix apropos
This commit is contained in:
Domen Kožar 2016-09-13 21:44:37 +02:00 committed by GitHub
commit 335cde2525

View File

@ -15,6 +15,12 @@ stdenv.mkDerivation rec {
buildInputs = [ libpipeline db groff ];
troff="${groff}/bin/groff";
postPatch = ''
substituteInPlace src/man_db.conf.in \
--replace "/usr/local/share" "/run/current-system/sw/share" \
--replace "/usr/share" "/run/current-system/sw/share"
'';
configureFlags = [
"--disable-setuid"
"--localstatedir=/var"