agg: disable sdltest on darwin; dgen-sdl: fix darwin build (#353575)

This commit is contained in:
Martin Weinelt
2024-11-04 06:02:42 +01:00
committed by GitHub
2 changed files with 5 additions and 1 deletions
+3
View File
@@ -20,6 +20,7 @@ stdenv.mkDerivation rec {
];
configureFlags = [
(lib.enableFeature (!stdenv.hostPlatform.isDarwin) "sdltest")
"--enable-debug-vdp"
"--enable-debugger"
"--enable-joystick"
@@ -34,6 +35,8 @@ stdenv.mkDerivation rec {
"--with-star=no" # Needs ASM support
];
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-reserved-user-defined-literal";
meta = with lib; {
homepage = "https://dgen.sourceforge.net/";
description = "Sega Genesis/Mega Drive emulator";
+2 -1
View File
@@ -33,7 +33,8 @@ stdenv.mkDerivation rec {
'';
configureFlags = [
(lib.strings.enableFeature stdenv.hostPlatform.isLinux "platform")
(lib.enableFeature stdenv.hostPlatform.isLinux "platform")
(lib.enableFeature (!stdenv.hostPlatform.isDarwin) "sdltest")
"--enable-examples=no"
] ++ lib.optionals stdenv.hostPlatform.isLinux [
"--x-includes=${lib.getDev libX11}/include"