mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-03-17 17:42:45 +00:00
fail2ban: include systemd on Linux only
This commit is contained in:
parent
15fd97b74d
commit
3885fc5c3b
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue