1
0
Fork 1
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:
Spencer Whitt 2015-04-05 22:52:47 -04:00
parent 15fd97b74d
commit 3885fc5c3b

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 \