summary refs log tree commit diff
path: root/pkgs/games
diff options
context:
space:
mode:
authorfigsoda2023-05-19 14:42:22 -0400
committerGitHub2023-05-19 14:42:22 -0400
commit5c1bf257327c630240cab73a7c220c8632c16127 (patch)
tree09058ab0fc7ce5f7aebae2a559d779aa8e98e6a8 /pkgs/games
parent4afdcf5321f59a6ea8b275ccf8c20fd56fe318a8 (diff)
parentb23eb059cca34e280382bb224e072727c5d6143a (diff)
Merge pull request #232858 from eliandoran/zhf/doomretro
doomretro: fix build on darwin
Diffstat (limited to 'pkgs/games')
-rw-r--r--pkgs/games/doom-ports/doomretro/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/games/doom-ports/doomretro/default.nix b/pkgs/games/doom-ports/doomretro/default.nix
index dd274c1bfeaa..c584f64b5d3e 100644
--- a/pkgs/games/doom-ports/doomretro/default.nix
+++ b/pkgs/games/doom-ports/doomretro/default.nix
@@ -6,6 +6,7 @@
 , SDL2
 , SDL2_image
 , SDL2_mixer
+, Cocoa
 }:
 
 stdenv.mkDerivation (finalAttrs: {
@@ -28,6 +29,8 @@ stdenv.mkDerivation (finalAttrs: {
     SDL2
     SDL2_image
     SDL2_mixer
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
+    Cocoa
   ];
 
   meta = {