about summary refs log tree commit diff
path: root/pkgs/development/python-modules/tzlocal/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/tzlocal/default.nix')
-rw-r--r--pkgs/development/python-modules/tzlocal/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/tzlocal/default.nix b/pkgs/development/python-modules/tzlocal/default.nix
index 81f1ed1d2b80..a4e6ba12061c 100644
--- a/pkgs/development/python-modules/tzlocal/default.nix
+++ b/pkgs/development/python-modules/tzlocal/default.nix
@@ -33,7 +33,7 @@ buildPythonPackage rec {
     "test_conflicting"
     "test_noconflict"
     "test_symlink_localtime"
-  ] ++ lib.optional stdenv.isDarwin "test_assert_tz_offset";
+  ] ++ lib.optional stdenv.hostPlatform.isDarwin "test_assert_tz_offset";
 
   pythonImportsCheck = [ "tzlocal" ];