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
1 changed files with 2 additions and 1 deletions

View File

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