fail2ban: fix work with python3
This commit is contained in:
parent
ff882242ea
commit
5b6295c969
|
@ -47,6 +47,10 @@ python3.pkgs.buildPythonApplication {
|
||||||
${python3.interpreter} setup.py install_data --install-dir=$out --root=$out
|
${python3.interpreter} setup.py install_data --install-dir=$out --root=$out
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
${stdenv.shell} ./fail2ban-2to3
|
||||||
|
'';
|
||||||
|
|
||||||
postInstall = let
|
postInstall = let
|
||||||
sitePackages = "$out/${python3.sitePackages}";
|
sitePackages = "$out/${python3.sitePackages}";
|
||||||
in ''
|
in ''
|
||||||
|
|
Loading…
Reference in a new issue