about summary refs log tree commit diff
path: root/pkgs/development/python-modules/tbm-utils/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/tbm-utils/default.nix')
-rw-r--r--pkgs/development/python-modules/tbm-utils/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/tbm-utils/default.nix b/pkgs/development/python-modules/tbm-utils/default.nix
index d9a0c20070de..9daa9648fe1e 100644
--- a/pkgs/development/python-modules/tbm-utils/default.nix
+++ b/pkgs/development/python-modules/tbm-utils/default.nix
@@ -61,14 +61,14 @@ buildPythonPackage rec {
 
   nativeCheckInputs = [ pytestCheckHook ];
 
-  disabledTests = lib.optionals stdenv.isDarwin [
+  disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [
     # Skip on macOS because /etc/localtime is accessed through the pendulum
     # library, which is not allowed in a sandboxed build.
     "test_create_parser_filter_dates"
     "test_parse_args"
   ];
 
-  disabledTestPaths = lib.optionals stdenv.isDarwin [
+  disabledTestPaths = lib.optionals stdenv.hostPlatform.isDarwin [
     # Skip on macOS because /etc/localtime is accessed through the pendulum
     # library, which is not allowed in a sandboxed build.
     "tests/test_datetime.py"