mandb: fix apropos
commitce4f1f828366a488003e52369f5515bfb789b0ae
authorRam Kromberg <ramkromberg@mail.com>
dateMon 12 Sep 2016, 02:12 (10 years ago)
parent300adc8
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"