diff --git a/pkgs/games/cdogs-sdl/default.nix b/pkgs/games/cdogs-sdl/default.nix index 2b072a447523..474fd735f73d 100644 --- a/pkgs/games/cdogs-sdl/default.nix +++ b/pkgs/games/cdogs-sdl/default.nix @@ -26,7 +26,10 @@ stdenv.mkDerivation rec { patchShebangs src/proto/nanopb/generator/* ''; - cmakeFlags = [ "-DCDOGS_DATA_DIR=${placeholder "out"}/" ]; + cmakeFlags = [ + "-DCDOGS_DATA_DIR=${placeholder "out"}/" + "-DCMAKE_C_FLAGS=-Wno-error=array-bounds" + ]; nativeBuildInputs = [ pkg-config