about summary refs log tree commit diff
path: root/pkgs/development/python-modules/astropy/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/astropy/default.nix')
-rw-r--r--pkgs/development/python-modules/astropy/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/astropy/default.nix b/pkgs/development/python-modules/astropy/default.nix
index c88029cb09a8..c6a7f9fea08b 100644
--- a/pkgs/development/python-modules/astropy/default.nix
+++ b/pkgs/development/python-modules/astropy/default.nix
@@ -99,7 +99,7 @@ buildPythonPackage rec {
     "test_datetime_to_timedelta"
 
     "test_datetime_difference_agrees_with_timedelta_no_hypothesis"
-  ] ++ lib.optionals stdenv.isDarwin [ "test_sidereal_lat_independent" ];
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ "test_sidereal_lat_independent" ];
 
   meta = {
     description = "Astronomy/Astrophysics library for Python";