mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
dosbox: fix build on darwin
This commit is contained in:
parent
8cdc50c434
commit
73fddfcc38
@ -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
|
||||
|
@ -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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user