Merge pull request #37767 from NixOS/fix-28145
fail2ban: install docs to $out/share/doc
This commit is contained in:
commit
1f60fd9bc0
@ -26,6 +26,8 @@ pythonPackages.buildPythonApplication {
|
|||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
preInstall = ''
|
preInstall = ''
|
||||||
|
substituteInPlace setup.py --replace /usr/share/doc/ share/doc/
|
||||||
|
|
||||||
# see https://github.com/NixOS/nixpkgs/issues/4968
|
# see https://github.com/NixOS/nixpkgs/issues/4968
|
||||||
${python}/bin/${python.executable} setup.py install_data --install-dir=$out --root=$out
|
${python}/bin/${python.executable} setup.py install_data --install-dir=$out --root=$out
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user