summary refs log tree commit diff
path: root/pkgs/tools/security/fail2ban
diff options
context:
space:
mode:
authorRodney Lorrimar <dev@rodney.id.au>2015-12-13 16:53:07 +0000
committerRodney Lorrimar <dev@rodney.id.au>2015-12-18 09:44:22 +0000
commit201859ea188a976abba64ce17a27a702ec50657c (patch)
treea4af7d98f41c3056f79ba52c45ef20107119661c /pkgs/tools/security/fail2ban
parent242c24c402e9c00a8d3a4ffabe087b5b7e709a55 (diff)
fail2ban: update python-systemd dependency
The python module has been split off from systemd since v223.
Diffstat (limited to 'pkgs/tools/security/fail2ban')
-rw-r--r--pkgs/tools/security/fail2ban/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/tools/security/fail2ban/default.nix b/pkgs/tools/security/fail2ban/default.nix
index 33638e5f49414..a0451ea63a385 100644
--- a/pkgs/tools/security/fail2ban/default.nix
+++ b/pkgs/tools/security/fail2ban/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchzip, python, pythonPackages, unzip, systemd, gamin }:
+{ stdenv, fetchzip, python, pythonPackages, unzip, gamin }:
 
 let version = "0.9.1"; in
 
@@ -14,8 +14,8 @@ pythonPackages.buildPythonPackage {
 
   buildInputs = [ unzip ];
 
-  pythonPath = (stdenv.lib.optional stdenv.isLinux systemd)
-    ++ [ python.modules.sqlite3 gamin ];
+  propagatedBuildInputs = [ python.modules.sqlite3 gamin ]
+    ++ (stdenv.lib.optional stdenv.isLinux pythonPackages.systemd);
 
   preConfigure = ''
     for i in fail2ban-client fail2ban-regex fail2ban-server; do