about summary refs log tree commit diff
path: root/pkgs/development/libraries/clutter/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/clutter/default.nix')
-rw-r--r--pkgs/development/libraries/clutter/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/clutter/default.nix b/pkgs/development/libraries/clutter/default.nix
index d6720eb181f4..bb7ddf08957f 100644
--- a/pkgs/development/libraries/clutter/default.nix
+++ b/pkgs/development/libraries/clutter/default.nix
@@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
     atk
     json-glib
     gobject-introspection
-  ] ++ lib.optionals (!stdenv.isDarwin) [
+  ] ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [
     libX11
     libGL
     libGLU
@@ -62,7 +62,7 @@ stdenv.mkDerivation rec {
 
   configureFlags = [
     "--enable-introspection" # needed by muffin AFAIK
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     "--without-x"
     "--enable-x11-backend=no"
     "--enable-quartz-backend=yes"