dosbox: fix build on darwin
This commit is contained in:
parent
8cdc50c434
commit
73fddfcc38
|
@ -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
|
||||||
|
|
|
@ -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 { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue