From f6328c067409aef4022b4d6cffebe369733c6270 Mon Sep 17 00:00:00 2001 From: Yi-Jyun Pan Date: Tue, 9 Jul 2024 02:09:16 +0800 Subject: [PATCH] fail2ban: remove fail2ban-2to3 The codebase has been migrated to Python 3 already: https://github.com/fail2ban/fail2ban/commit/03d7c92ae860dd29987e2090f4d6a24cc55c5b10 --- pkgs/tools/security/fail2ban/default.nix | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkgs/tools/security/fail2ban/default.nix b/pkgs/tools/security/fail2ban/default.nix index 50b725187476..c96123966055 100644 --- a/pkgs/tools/security/fail2ban/default.nix +++ b/pkgs/tools/security/fail2ban/default.nix @@ -25,9 +25,6 @@ python3.pkgs.buildPythonApplication rec { ]; preConfigure = '' - patchShebangs fail2ban-2to3 - ./fail2ban-2to3 - for i in config/action.d/sendmail*.conf; do substituteInPlace $i \ --replace /usr/sbin/sendmail sendmail