retroarch: fix build on macOS, mark as broken

With those changes retroarch builds on Darwin, but the executable itself
is broken.
This commit is contained in:
Thiago Kenji Okada
2021-11-20 10:41:46 -03:00
parent 36f6fd1f41
commit f435d7d631
+5 -1
View File
@@ -68,7 +68,8 @@ stdenv.mkDerivation rec {
--replace "@libretro_info_path@" "$out/share/libretro/info"
'';
nativeBuildInputs = [ pkg-config wayland ] ++
nativeBuildInputs = [ pkg-config ] ++
optional stdenv.isLinux wayland ++
optional withVulkan makeWrapper;
buildInputs = [ ffmpeg freetype libxml2 libGLU libGL python3 SDL2 which ] ++
@@ -109,5 +110,8 @@ stdenv.mkDerivation rec {
license = licenses.gpl3Plus;
platforms = platforms.all;
maintainers = with maintainers; [ MP2E edwtjo matthewbauer kolbycrouch thiagokokada ];
# FIXME: exits with error on macOS:
# No Info.plist file in application bundle or no NSPrincipalClass in the Info.plist file, exiting
broken = stdenv.isDarwin;
};
}