dosbox: fix build on darwin

This commit is contained in:
Weijia Wang 2022-12-08 19:25:49 +01:00
parent 8cdc50c434
commit 73fddfcc38
2 changed files with 5 additions and 3 deletions

View file

@ -2,7 +2,7 @@
, stdenv
, fetchurl
, autoreconfHook
, SDL_compat
, SDL
, SDL_net
, SDL_sound
, copyDesktopItems
@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
];
buildInputs = [
SDL_compat
SDL
SDL_net
SDL_sound
libGL

View file

@ -1961,7 +1961,9 @@ with pkgs;
dlx = callPackage ../applications/emulators/dlx { };
dosbox = callPackage ../applications/emulators/dosbox { };
dosbox = callPackage ../applications/emulators/dosbox {
SDL = if stdenv.isDarwin then SDL else SDL_compat;
};
dosbox-staging = callPackage ../applications/emulators/dosbox-staging { };