fail2ban: include systemd on Linux only

This commit is contained in:
Spencer Whitt 2015-04-05 22:52:47 -04:00
parent 15fd97b74d
commit 3885fc5c3b

View File

@ -14,7 +14,8 @@ pythonPackages.buildPythonPackage {
buildInputs = [ unzip ]; buildInputs = [ unzip ];
pythonPath = [ systemd python.modules.sqlite3 gamin ]; pythonPath = (stdenv.lib.optional stdenv.isLinux systemd)
++ [ python.modules.sqlite3 gamin ];
preConfigure = '' preConfigure = ''
substituteInPlace setup.cfg \ substituteInPlace setup.cfg \