about summary refs log tree commit diff
path: root/pkgs/development/libraries/qscintilla/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/qscintilla/default.nix')
-rw-r--r--pkgs/development/libraries/qscintilla/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/development/libraries/qscintilla/default.nix b/pkgs/development/libraries/qscintilla/default.nix
index 69adf65643d0..0d8df9b316b8 100644
--- a/pkgs/development/libraries/qscintilla/default.nix
+++ b/pkgs/development/libraries/qscintilla/default.nix
@@ -10,7 +10,7 @@
 }:
 
 let
-  stdenv' = if stdenv.isDarwin then
+  stdenv' = if stdenv.hostPlatform.isDarwin then
     darwin.apple_sdk_11_0.stdenv
   else
     stdenv
@@ -28,10 +28,10 @@ in stdenv'.mkDerivation rec {
 
   buildInputs = [ qtbase ];
 
-  propagatedBuildInputs = lib.optionals stdenv.isDarwin [ qtmacextras ];
+  propagatedBuildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ qtmacextras ];
 
   nativeBuildInputs = [ unzip qmake ]
-    ++ lib.optionals stdenv.isDarwin [ fixDarwinDylibNames ];
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [ fixDarwinDylibNames ];
 
   # Make sure that libqscintilla2.so is available in $out/lib since it is expected
   # by some packages such as sqlitebrowser
@@ -71,6 +71,6 @@ in stdenv'.mkDerivation rec {
     maintainers = with maintainers; [ peterhoeg ];
     platforms = platforms.unix;
     # ld: library not found for -lcups
-    broken = stdenv.isDarwin && lib.versionAtLeast qtbase.version "6";
+    broken = stdenv.hostPlatform.isDarwin && lib.versionAtLeast qtbase.version "6";
   };
 }