about summary refs log tree commit diff
path: root/pkgs/development/python-modules/spectral-cube/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/spectral-cube/default.nix')
-rw-r--r--pkgs/development/python-modules/spectral-cube/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/spectral-cube/default.nix b/pkgs/development/python-modules/spectral-cube/default.nix
index 444761c46159..d9c3e6466143 100644
--- a/pkgs/development/python-modules/spectral-cube/default.nix
+++ b/pkgs/development/python-modules/spectral-cube/default.nix
@@ -60,7 +60,9 @@ buildPythonPackage rec {
 
   # On x86_darwin, this test fails with "Fatal Python error: Aborted"
   # when sandbox = true.
-  disabledTestPaths = lib.optionals stdenv.isDarwin [ "spectral_cube/tests/test_visualization.py" ];
+  disabledTestPaths = lib.optionals stdenv.hostPlatform.isDarwin [
+    "spectral_cube/tests/test_visualization.py"
+  ];
 
   pythonImportsCheck = [ "spectral_cube" ];