mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
Merge pull request #37767 from NixOS/fix-28145
fail2ban: install docs to $out/share/doc
This commit is contained in:
commit
1f60fd9bc0
1 changed files with 2 additions and 0 deletions
|
@ -26,6 +26,8 @@ pythonPackages.buildPythonApplication {
|
|||
doCheck = false;
|
||||
|
||||
preInstall = ''
|
||||
substituteInPlace setup.py --replace /usr/share/doc/ share/doc/
|
||||
|
||||
# see https://github.com/NixOS/nixpkgs/issues/4968
|
||||
${python}/bin/${python.executable} setup.py install_data --install-dir=$out --root=$out
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue