Merge pull request #205162 from wegank/dosbox-darwin

Closes https://github.com/NixOS/nixpkgs/issues/203993
This commit is contained in:
Sandro 2022-12-13 17:26:08 +01:00 committed by GitHub
commit 0b3e6d0eb4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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

@ -1964,7 +1964,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 { };