Merge pull request #232858 from eliandoran/zhf/doomretro

doomretro: fix build on darwin
This commit is contained in:
figsoda 2023-05-19 14:42:22 -04:00 committed by GitHub
commit 5c1bf25732
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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

@ -35963,7 +35963,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 { };