fail2ban: include systemd on Linux only
This commit is contained in:
parent
15fd97b74d
commit
3885fc5c3b
@ -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 \
|
||||||
|
Loading…
Reference in New Issue
Block a user