diff --git a/pkgs/applications/emulators/np2kai/default.nix b/pkgs/applications/emulators/np2kai/default.nix index 0ed47af8f5b..dd5e53967c0 100644 --- a/pkgs/applications/emulators/np2kai/default.nix +++ b/pkgs/applications/emulators/np2kai/default.nix @@ -156,6 +156,9 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; + # TODO Remove when bumping past rev22 + NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-D_DARWIN_C_SOURCE"; + buildPhase = optionalString enableSDL '' cd sdl2 for mkfile in ${sdlMakefiles}; do