Merge pull request #232858 from eliandoran/zhf/doomretro
doomretro: fix build on darwin
This commit is contained in:
commit
5c1bf25732
2 changed files with 6 additions and 1 deletions
|
@ -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 = {
|
||||
|
|
|
@ -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 { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue