mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +00:00
mandb: fix apropos
This commit is contained in:
parent
300adc8458
commit
ce4f1f8283
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user