summary refs log tree commit diff
path: root/pkgs/tools/security/fail2ban
diff options
context:
space:
mode:
authorBrian Olsen <brian@maven-group.org>2021-11-09 22:17:17 +0100
committerBrian Olsen <brian@maven-group.org>2021-11-09 22:22:45 +0100
commitbe26c8471a7a872d56ba9b1d83fc38e2b65074a7 (patch)
treed6fef38921531028703b8f1e9933a9f1e06ecc6a /pkgs/tools/security/fail2ban
parent37bd69672dc8592fe56e87011de4dc6ceca720a8 (diff)
fail2ban: Fix for darwin
Diffstat (limited to 'pkgs/tools/security/fail2ban')
-rw-r--r--pkgs/tools/security/fail2ban/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/security/fail2ban/default.nix b/pkgs/tools/security/fail2ban/default.nix
index 18128639ff4a0..06b4ddc062111 100644
--- a/pkgs/tools/security/fail2ban/default.nix
+++ b/pkgs/tools/security/fail2ban/default.nix
@@ -47,7 +47,7 @@ python3.pkgs.buildPythonApplication rec {
     in
     ''
       # see https://github.com/NixOS/nixpkgs/issues/4968
-      rm -r ${sitePackages}/etc ${sitePackages}/usr
+      rm -rf ${sitePackages}/etc ${sitePackages}/usr
     '';
 
   meta = with lib; {