about summary refs log tree commit diff
path: root/pkgs/by-name/fa/fail2ban/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/fa/fail2ban/package.nix')
-rw-r--r--pkgs/by-name/fa/fail2ban/package.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/by-name/fa/fail2ban/package.nix b/pkgs/by-name/fa/fail2ban/package.nix
index 20f89c501dde..6943ccc447a0 100644
--- a/pkgs/by-name/fa/fail2ban/package.nix
+++ b/pkgs/by-name/fa/fail2ban/package.nix
@@ -23,7 +23,7 @@ python3.pkgs.buildPythonApplication rec {
   nativeBuildInputs = [ installShellFiles ];
 
   pythonPath = with python3.pkgs;
-    lib.optionals stdenv.isLinux [
+    lib.optionals stdenv.hostPlatform.isLinux [
       systemd
       pyinotify
 
@@ -83,7 +83,7 @@ python3.pkgs.buildPythonApplication rec {
       rm $out/bin/fail2ban-python
       ln -s ${python3.interpreter} $out/bin/fail2ban-python
 
-    '' + lib.optionalString stdenv.isLinux ''
+    '' + lib.optionalString stdenv.hostPlatform.isLinux ''
       # see https://github.com/NixOS/nixpkgs/issues/4968
       rm -r "${sitePackages}/usr"
     '';