mandb: fix apropos

This commit is contained in:
Ram Kromberg 2016-09-12 02:12:14 +03:00
parent 300adc8458
commit ce4f1f8283

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"