fail2ban: include systemd on Linux only
commit3885fc5c3bf34f0fd481ec5f9dd608a9d94eff14
authorSpencer Whitt <sw@swhitt.me>
dateSun 5 Apr 2015, 22:52 (12 years ago)
parent15fd97b
pkgs/tools/security/fail2ban/default.nix+2−1
@@ -14,7 +14,8 @@ pythonPackages.buildPythonPackage {
1414
1515 buildInputs = [ unzip ];
1616
17− pythonPath = [ systemd python.modules.sqlite3 gamin ];
17+ pythonPath = (stdenv.lib.optional stdenv.isLinux systemd)
18+ ++ [ python.modules.sqlite3 gamin ];
1819
1920 preConfigure = ''
2021 substituteInPlace setup.cfg \