about summary refs log tree commit diff
path: root/pkgs/development/libraries/cairomm/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/cairomm/default.nix')
-rw-r--r--pkgs/development/libraries/cairomm/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/cairomm/default.nix b/pkgs/development/libraries/cairomm/default.nix
index 957cfa26ac73..382770e144f5 100644
--- a/pkgs/development/libraries/cairomm/default.nix
+++ b/pkgs/development/libraries/cairomm/default.nix
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
   buildInputs = [
     boost # for tests
     fontconfig
-  ] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin (with darwin.apple_sdk.frameworks; [
     ApplicationServices
   ]);
 
@@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
     "-Dbuild-tests=true"
   ];
 
-  doCheck = !stdenv.isDarwin;
+  doCheck = !stdenv.hostPlatform.isDarwin;
 
   meta = with lib; {
     description = "C++ bindings for the Cairo vector graphics library";