about summary refs log tree commit diff
path: root/pkgs/games/flare/engine.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/games/flare/engine.nix')
-rw-r--r--pkgs/games/flare/engine.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/games/flare/engine.nix b/pkgs/games/flare/engine.nix
index a1f8761815aa..b404e8ecfcd0 100644
--- a/pkgs/games/flare/engine.nix
+++ b/pkgs/games/flare/engine.nix
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
 
   nativeBuildInputs = [ cmake ];
   buildInputs = [ SDL2 SDL2_image SDL2_mixer SDL2_ttf ]
-    ++ lib.optional stdenv.isDarwin Cocoa;
+    ++ lib.optional stdenv.hostPlatform.isDarwin Cocoa;
 
   meta = with lib; {
     description = "Free/Libre Action Roleplaying Engine";