mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
dosbox: fix build on darwin
This commit is contained in:
parent
8cdc50c434
commit
73fddfcc38
2 changed files with 5 additions and 3 deletions
|
@ -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 a new issue