From 712ded5f7ad69f8c02772d3f5fd96e7de7f5c8fd Mon Sep 17 00:00:00 2001 From: Armeen Mahdian Date: Fri, 13 May 2022 14:33:17 -0500 Subject: [PATCH] cdogs-sdl: fix --- pkgs/games/cdogs-sdl/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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