about summary refs log tree commit diff
path: root/pkgs/servers/apache-airflow/python-package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/servers/apache-airflow/python-package.nix')
-rw-r--r--pkgs/servers/apache-airflow/python-package.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/servers/apache-airflow/python-package.nix b/pkgs/servers/apache-airflow/python-package.nix
index 14c39ede5a85..d178a3d15064 100644
--- a/pkgs/servers/apache-airflow/python-package.nix
+++ b/pkgs/servers/apache-airflow/python-package.nix
@@ -244,7 +244,7 @@ buildPythonPackage rec {
     # https://github.com/apache/airflow/issues/33854
     substituteInPlace pyproject.toml \
       --replace '[project]' $'[project]\nname = "apache-airflow"\nversion = "${version}"'
-  '' + lib.optionalString stdenv.isDarwin ''
+  '' + lib.optionalString stdenv.hostPlatform.isDarwin ''
     # Fix failing test on Hydra
     substituteInPlace airflow/utils/db.py \
       --replace "/tmp/sqlite_default.db" "$TMPDIR/sqlite_default.db"
@@ -287,7 +287,7 @@ buildPythonPackage rec {
     "tests/core/test_core.py"
   ];
 
-  disabledTests = lib.optionals stdenv.isDarwin [
+  disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [
     "bash_operator_kill" # psutil.AccessDenied
   ];