Merge pull request #18521 from RamKromberg/fix/man-db
mandb: fix apropos
commit335cde2525cd3e71c16accd3c403ad58313962ca
authorDomen Kožar <domen@dev.si>
dateTue 13 Sep 2016, 21:44 (10 years ago)
parent2edb28fce4f1f8
pkgs/tools/misc/man-db/default.nix+6
@@ -15,6 +15,12 @@ stdenv.mkDerivation rec {
1515 buildInputs = [ libpipeline db groff ];
1616 troff="${groff}/bin/groff";
1717
18+ postPatch = ''
19+ substituteInPlace src/man_db.conf.in \
20+ --replace "/usr/local/share" "/run/current-system/sw/share" \
21+ --replace "/usr/share" "/run/current-system/sw/share"
22+ '';
23+
1824 configureFlags = [
1925 "--disable-setuid"
2026 "--localstatedir=/var"