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 , stdenv
, fetchurl , fetchurl
, autoreconfHook , autoreconfHook
, SDL_compat , SDL
, SDL_net , SDL_net
, SDL_sound , SDL_sound
, copyDesktopItems , copyDesktopItems
@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
]; ];
buildInputs = [ buildInputs = [
SDL_compat SDL
SDL_net SDL_net
SDL_sound SDL_sound
libGL libGL

View file

@ -1961,7 +1961,9 @@ with pkgs;
dlx = callPackage ../applications/emulators/dlx { }; 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 { }; dosbox-staging = callPackage ../applications/emulators/dosbox-staging { };