about summary refs log tree commit diff
path: root/pkgs/development/libraries/box2d/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/box2d/default.nix')
-rw-r--r--pkgs/development/libraries/box2d/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/box2d/default.nix b/pkgs/development/libraries/box2d/default.nix
index a445a0c53315..acc2d96caf4a 100644
--- a/pkgs/development/libraries/box2d/default.nix
+++ b/pkgs/development/libraries/box2d/default.nix
@@ -46,7 +46,7 @@ stdenv.mkDerivation (finalAttrs: {
     libXrandr
     xorgproto
     libXi
-  ] ++ optionals stdenv.isDarwin [
+  ] ++ optionals stdenv.hostPlatform.isDarwin [
     Carbon Cocoa Kernel OpenGL
   ];