libtcod: fix build

Fixes missing libX11 dependency after 7aeac03f40021f4b213d460ef5813e52184368db.

Ignores the implicit-int and incompatible-pointer-types warnings.
This commit is contained in:
eilvelia 2025-05-01 17:39:53 +00:00
parent ec9ef36645
commit 8b057ae9d7
No known key found for this signature in database
GPG Key ID: 676244F5C72C5578

View File

@ -6,6 +6,7 @@
SDL,
libGLU,
libGL,
libX11,
upx,
zlib,
}:
@ -36,10 +37,16 @@ stdenv.mkDerivation {
SDL
libGLU
libGL
libX11
upx
zlib
];
env.NIX_CFLAGS_COMPILE = lib.concatStringsSep " " [
"-Wno-error=implicit-int"
"-Wno-error=incompatible-pointer-types"
];
meta = {
description = "API for roguelike games";
homepage = "http://roguecentral.org/doryen/libtcod/";