diff options
author | Pascal Wittmann <mail@pascal-wittmann.de> | 2018-03-25 16:14:48 +0200 |
---|---|---|
committer | Pascal Wittmann <mail@pascal-wittmann.de> | 2018-03-25 16:14:48 +0200 |
commit | f3ca47561c31a8eeeb24c722d57effe84a686d77 (patch) | |
tree | c3d9ed6af5ee5bcd731e7fd4e06845b823b0fa90 /pkgs/tools | |
parent | 5adec8d6c18fb24d002bf055ac3e0805146f4caa (diff) | |
download | nixlib-f3ca47561c31a8eeeb24c722d57effe84a686d77.tar nixlib-f3ca47561c31a8eeeb24c722d57effe84a686d77.tar.gz nixlib-f3ca47561c31a8eeeb24c722d57effe84a686d77.tar.bz2 nixlib-f3ca47561c31a8eeeb24c722d57effe84a686d77.tar.lz nixlib-f3ca47561c31a8eeeb24c722d57effe84a686d77.tar.xz nixlib-f3ca47561c31a8eeeb24c722d57effe84a686d77.tar.zst nixlib-f3ca47561c31a8eeeb24c722d57effe84a686d77.zip |
fail2ban: install docs to $out/share/doc
fixes issue #28145
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/security/fail2ban/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/tools/security/fail2ban/default.nix b/pkgs/tools/security/fail2ban/default.nix index a8de8742dd5c..23061b6962e8 100644 --- a/pkgs/tools/security/fail2ban/default.nix +++ b/pkgs/tools/security/fail2ban/default.nix @@ -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 ''; |