doomretro: fix build on darwin

This commit is contained in:
Elian Doran 2023-05-19 20:04:06 +03:00
parent 4c5f59b598
commit b23eb059cc
2 changed files with 6 additions and 1 deletions

View file

@ -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 = {

View file

@ -35942,7 +35942,9 @@ with pkgs;
doomseeker = qt5.callPackage ../games/doom-ports/doomseeker { };
doomretro = callPackage ../games/doom-ports/doomretro { };
doomretro = callPackage ../games/doom-ports/doomretro {
inherit (darwin.apple_sdk.frameworks) Cocoa;
};
chocolate-doom = callPackage ../games/doom-ports/chocolate-doom { };