about summary refs log tree commit diff
path: root/pkgs/development/libraries/cairomm/1.16.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/cairomm/1.16.nix')
-rw-r--r--pkgs/development/libraries/cairomm/1.16.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/cairomm/1.16.nix b/pkgs/development/libraries/cairomm/1.16.nix
index 83428f0fef9b..cd561d009187 100644
--- a/pkgs/development/libraries/cairomm/1.16.nix
+++ b/pkgs/development/libraries/cairomm/1.16.nix
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
   buildInputs = [
     boost # for tests
     fontconfig
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     ApplicationServices
   ];
 
@@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
   ];
 
   # Tests fail on Darwin, possibly because of sandboxing.
-  doCheck = !stdenv.isDarwin;
+  doCheck = !stdenv.hostPlatform.isDarwin;
 
   meta = with lib; {
     description = "C++ bindings for the Cairo vector graphics library";