about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pendulum/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/pendulum/default.nix')
-rw-r--r--pkgs/development/python-modules/pendulum/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/pendulum/default.nix b/pkgs/development/python-modules/pendulum/default.nix
index 627769ff18c8..bd74e66c6915 100644
--- a/pkgs/development/python-modules/pendulum/default.nix
+++ b/pkgs/development/python-modules/pendulum/default.nix
@@ -60,7 +60,7 @@ buildPythonPackage rec {
     rustPlatform.cargoSetupHook
   ];
 
-  buildInputs = lib.optionals stdenv.isDarwin [ iconv ];
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ iconv ];
 
   propagatedBuildInputs =
     [
@@ -82,7 +82,7 @@ buildPythonPackage rec {
 
   disabledTestPaths =
     [ "tests/benchmarks" ]
-    ++ lib.optionals stdenv.isDarwin [
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [
       # PermissionError: [Errno 1] Operation not permitted: '/etc/localtime'
       "tests/testing/test_time_travel.py"
     ];