about summary refs log tree commit diff
path: root/pkgs/development/python-modules/css-inline/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/css-inline/default.nix')
-rw-r--r--pkgs/development/python-modules/css-inline/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/css-inline/default.nix b/pkgs/development/python-modules/css-inline/default.nix
index b9faf71842b6..a108599eb6ba 100644
--- a/pkgs/development/python-modules/css-inline/default.nix
+++ b/pkgs/development/python-modules/css-inline/default.nix
@@ -51,7 +51,7 @@ buildPythonPackage rec {
     rustPlatform.maturinBuildHook
   ];
 
-  buildInputs = lib.optionals stdenv.isDarwin [
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
     libiconv
     Security
     SystemConfiguration
@@ -70,7 +70,7 @@ buildPythonPackage rec {
       "test_cache"
       "test_remote_stylesheet"
     ]
-    ++ lib.optionals (stdenv.isDarwin) [
+    ++ lib.optionals (stdenv.hostPlatform.isDarwin) [
       # pyo3_runtime.PanicException: event loop thread panicked
       "test_invalid_href"
     ];