3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #37767 from NixOS/fix-28145

fail2ban: install docs to $out/share/doc
This commit is contained in:
Pascal Wittmann 2018-03-26 09:07:31 +02:00 committed by GitHub
commit 1f60fd9bc0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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