Skip to content

Commit

Permalink
fail2ban: install docs to $out/share/doc
Browse files Browse the repository at this point in the history
fixes issue #28145
  • Loading branch information
pSub committed Mar 25, 2018
1 parent 5adec8d commit f3ca475
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/tools/security/fail2ban/default.nix
Expand Up @@ -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
'';
Expand Down

0 comments on commit f3ca475

Please sign in to comment.