fail2ban: install docs to $out/share/doc

fixes issue #28145
This commit is contained in:
Pascal Wittmann 2018-03-25 16:14:48 +02:00
parent 5adec8d6c1
commit f3ca47561c
No known key found for this signature in database
GPG Key ID: C899ACE7E2322852

View File

@ -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
'';