about summary refs log tree commit diff
path: root/pkgs/development/libraries/ode/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/ode/default.nix')
-rw-r--r--pkgs/development/libraries/ode/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/ode/default.nix b/pkgs/development/libraries/ode/default.nix
index 8b426654147f..2906c3428342 100644
--- a/pkgs/development/libraries/ode/default.nix
+++ b/pkgs/development/libraries/ode/default.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation (finalAttrs: {
     hash = "sha256-uode3RZFcJWHle6qcPFIU7/DTMmHH4rd6NpH4SvVRnk=";
   };
 
-  buildInputs = lib.optionals stdenv.isDarwin [
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
     darwin.apple_sdk.frameworks.CoreServices
     darwin.apple_sdk.frameworks.GLUT
   ];