commandergenius: fix X11 includes

The SDL2 compatibility layer still includes X11 libraries in some
of its headers [1], which breaks the build of commandergenius if
`xorg.libX11` is not included as build input.

[1]: https://github.com/libsdl-org/sdl2-compat/blob/291749630d731d45f7a5ff3d4b2429fbeb58ac4c/include/SDL2/SDL_syswm.h#L68
This commit is contained in:
Manuel Frischknecht
2025-05-25 12:26:12 +02:00
parent aa852f2301
commit b722a78968
@@ -14,6 +14,7 @@
SDL2_mixer,
SDL2_ttf,
python3,
xorg,
}:
stdenv.mkDerivation rec {
@@ -38,6 +39,7 @@ stdenv.mkDerivation rec {
zlib
curl
python3
xorg.libX11
];
cmakeFlags = [