mandb: fix apropos
This commit is contained in:
parent
300adc8458
commit
ce4f1f8283
@ -15,6 +15,12 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [ libpipeline db groff ];
|
buildInputs = [ libpipeline db groff ];
|
||||||
troff="${groff}/bin/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 = [
|
configureFlags = [
|
||||||
"--disable-setuid"
|
"--disable-setuid"
|
||||||
"--localstatedir=/var"
|
"--localstatedir=/var"
|
||||||
|
Loading…
Reference in New Issue
Block a user