about summary refs log tree commit diff
path: root/pkgs/development/python-modules/mitmproxy/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/mitmproxy/default.nix')
-rw-r--r--pkgs/development/python-modules/mitmproxy/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/mitmproxy/default.nix b/pkgs/development/python-modules/mitmproxy/default.nix
index 2c4d1da6e629..5e01020bb21f 100644
--- a/pkgs/development/python-modules/mitmproxy/default.nix
+++ b/pkgs/development/python-modules/mitmproxy/default.nix
@@ -91,7 +91,7 @@ buildPythonPackage rec {
     urwid
     wsproto
     zstandard
-  ] ++ lib.optionals stdenv.isDarwin [ mitmproxy-macos ];
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ mitmproxy-macos ];
 
   nativeCheckInputs = [
     hypothesis