about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyqt/5.x.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/pyqt/5.x.nix')
-rw-r--r--pkgs/development/python-modules/pyqt/5.x.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/pyqt/5.x.nix b/pkgs/development/python-modules/pyqt/5.x.nix
index 2fdd86b3b5ea..5e1c96673555 100644
--- a/pkgs/development/python-modules/pyqt/5.x.nix
+++ b/pkgs/development/python-modules/pyqt/5.x.nix
@@ -23,7 +23,7 @@
   withSerialPort ? false,
   withTools ? false,
   pkgsBuildTarget,
-  dbusSupport ? !stdenv.isDarwin,
+  dbusSupport ? !stdenv.hostPlatform.isDarwin,
 }:
 
 buildPythonPackage rec {
@@ -59,7 +59,7 @@ buildPythonPackage rec {
     # Due to bug in SIP .whl name generation we have to bump minimal macos sdk upto 11.0 for
     # aarch64-darwin. This patch can be removed once SIP will fix it in upstream,
     # see https://github.com/NixOS/nixpkgs/pull/186612#issuecomment-1214635456.
-    + lib.optionalString (stdenv.isDarwin && stdenv.isAarch64) ''
+    + lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) ''
       minimum-macos-version = "11.0"
     ''
     + ''