Merge pull request #76814 from Izorkin/fail2ban-fix

fail2ban: fix work with python3
This commit is contained in:
Marek Mahut 2020-01-02 16:01:12 +01:00 committed by GitHub
commit 143260e343
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,6 +47,10 @@ python3.pkgs.buildPythonApplication {
${python3.interpreter} setup.py install_data --install-dir=$out --root=$out
'';
postPatch = ''
${stdenv.shell} ./fail2ban-2to3
'';
postInstall = let
sitePackages = "$out/${python3.sitePackages}";
in ''