diff options
author | OPNA2608 <christoph.neidahl@gmail.com> | 2023-07-18 21:43:55 +0200 |
---|---|---|
committer | OPNA2608 <christoph.neidahl@gmail.com> | 2023-07-18 21:43:55 +0200 |
commit | 7594c74ceab016bc99ea24d4ed1a20308e586981 (patch) | |
tree | da7bd2b47d31ab1e458ef2a3bbf816d3d018f4c1 /pkgs/applications/emulators/dosbox | |
parent | 13222d8d8684b2da45a64fbd113b65e86b32d873 (diff) |
dosbox: Fix on Darwin
This previously pulled in Mesa on Darwin, which has recently been marked broken there due to an upstream bug. The configure script uses OpenGL framework on Darwin, libGL everywhere else. So don't pull in Mesa on Darwin, pass it OpenGL instead.
Diffstat (limited to 'pkgs/applications/emulators/dosbox')
-rw-r--r-- | pkgs/applications/emulators/dosbox/default.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/applications/emulators/dosbox/default.nix b/pkgs/applications/emulators/dosbox/default.nix index 852586cc6986c..a8d4df2e5feb2 100644 --- a/pkgs/applications/emulators/dosbox/default.nix +++ b/pkgs/applications/emulators/dosbox/default.nix @@ -9,6 +9,7 @@ , graphicsmagick , libGL , libGLU +, OpenGL , libpng , makeDesktopItem }: @@ -32,10 +33,13 @@ stdenv.mkDerivation rec { SDL SDL_net SDL_sound + libpng + ] ++ (if stdenv.hostPlatform.isDarwin then [ + OpenGL + ] else [ libGL libGLU - libpng - ]; + ]); hardeningDisable = [ "format" ]; |