about summary refs log tree commit diff
path: root/pkgs/games/openrw/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/games/openrw/default.nix')
-rw-r--r--pkgs/games/openrw/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/games/openrw/default.nix b/pkgs/games/openrw/default.nix
index 061d053e34ec..d2d86226af26 100644
--- a/pkgs/games/openrw/default.nix
+++ b/pkgs/games/openrw/default.nix
@@ -43,7 +43,7 @@ stdenv.mkDerivation {
 
   buildInputs = [
     sfml libGLU libGL bullet glm libmad openal SDL2 boost ffmpeg_6
-  ] ++ lib.optionals stdenv.isDarwin [ OpenAL Cocoa ];
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ OpenAL Cocoa ];
 
   meta = with lib; {
     description = "Unofficial open source recreation of the classic Grand Theft Auto III game executable";