about summary refs log tree commit diff
path: root/pkgs/development/python-modules/qscintilla-qt5/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/qscintilla-qt5/default.nix')
-rw-r--r--pkgs/development/python-modules/qscintilla-qt5/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/qscintilla-qt5/default.nix b/pkgs/development/python-modules/qscintilla-qt5/default.nix
index bab2320b0d6f..2ef0d3280f83 100644
--- a/pkgs/development/python-modules/qscintilla-qt5/default.nix
+++ b/pkgs/development/python-modules/qscintilla-qt5/default.nix
@@ -35,7 +35,7 @@ buildPythonPackage rec {
     pythonPackages.setuptools
   ];
   buildInputs = [ qtbase ];
-  propagatedBuildInputs = [ pyqt5 ] ++ lib.optionals stdenv.isDarwin [ qtmacextras ];
+  propagatedBuildInputs = [ pyqt5 ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ qtmacextras ];
 
   dontWrapQtApps = true;
 
@@ -47,7 +47,7 @@ buildPythonPackage rec {
       echo 'sip-include-dirs = [ "${pyqt5}/${python.sitePackages}/PyQt5/bindings"]' \
          >> pyproject.toml
     ''
-    + lib.optionalString stdenv.isDarwin ''
+    + lib.optionalString stdenv.hostPlatform.isDarwin ''
       substituteInPlace project.py \
         --replace \
         "if self.project.qsci_external_lib: