about summary refs log tree commit diff
path: root/pkgs/games/ja2-stracciatella/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/games/ja2-stracciatella/default.nix')
-rw-r--r--pkgs/games/ja2-stracciatella/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/games/ja2-stracciatella/default.nix b/pkgs/games/ja2-stracciatella/default.nix
index ea363c969429..9ad6e3105406 100644
--- a/pkgs/games/ja2-stracciatella/default.nix
+++ b/pkgs/games/ja2-stracciatella/default.nix
@@ -29,7 +29,7 @@ stdenv.mkDerivation {
   inherit src version;
 
   nativeBuildInputs = [ cmake python3 ];
-  buildInputs = [ SDL2 fltk rapidjson gtest ] ++ lib.optionals stdenv.isDarwin [ Carbon Cocoa ];
+  buildInputs = [ SDL2 fltk rapidjson gtest ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ Carbon Cocoa ];
 
   patches = [
     ./remove-rust-buildstep.patch