about summary refs log tree commit diff
path: root/pkgs/development/python-modules/starlette-admin/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/starlette-admin/default.nix')
-rw-r--r--pkgs/development/python-modules/starlette-admin/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/starlette-admin/default.nix b/pkgs/development/python-modules/starlette-admin/default.nix
index 41f3a1001345..a60768ef4220 100644
--- a/pkgs/development/python-modules/starlette-admin/default.nix
+++ b/pkgs/development/python-modules/starlette-admin/default.nix
@@ -85,7 +85,7 @@ buildPythonPackage rec {
     export LOCAL_PATH="$PWD/.storage"
   '';
 
-  disabledTests = lib.optionals stdenv.isDarwin [
+  disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [
     # flaky, depends on test order
     "test_ensuring_pk"
     # flaky, of-by-one
@@ -99,7 +99,7 @@ buildPythonPackage rec {
       # needs mongodb running on port 27017
       "tests/mongoengine"
     ]
-    ++ lib.optionals stdenv.isDarwin [
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [
       # very flaky, sandbox issues?
       # libcloud.storage.types.ContainerDoesNotExistError
       # sqlite3.OperationalError: attempt to write a readonly database