mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 19:02:57 +00:00
Merge pull request #244216 from OPNA2608/fix/dosbox_darwin
dosbox: Fix on Darwin
This commit is contained in:
commit
13a208d7ad
@ -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" ];
|
||||
|
||||
|
@ -2453,6 +2453,7 @@ with pkgs;
|
||||
dlx = callPackage ../applications/emulators/dlx { };
|
||||
|
||||
dosbox = callPackage ../applications/emulators/dosbox {
|
||||
inherit (darwin.apple_sdk.frameworks ) OpenGL;
|
||||
SDL = if stdenv.isDarwin then SDL else SDL_compat;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user