From efff97cba609e620f1cfc36bef4eadff48df8924 Mon Sep 17 00:00:00 2001 From: Timofey <39443983+Onyad@users.noreply.github.com> Date: Sat, 27 Apr 2024 19:50:31 +0300 Subject: [PATCH] vitetris: fix build on macOS by adding -Wno-implicit-int flag (#306591) * fix build on mac m1 * set platforms unix --------- Co-authored-by: Timofey K --- pkgs/games/vitetris/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/games/vitetris/default.nix b/pkgs/games/vitetris/default.nix index f7e566b22084..67358134e669 100644 --- a/pkgs/games/vitetris/default.nix +++ b/pkgs/games/vitetris/default.nix @@ -13,7 +13,7 @@ stdenv.mkDerivation rec { hardeningDisable = [ "format" ]; - makeFlags = [ "INSTALL=install" ]; + makeFlags = [ "INSTALL=install" "CPPFLAGS=-Wno-implicit-int" ]; meta = { description = "Terminal-based Tetris clone by Victor Nilsson"; @@ -21,6 +21,7 @@ stdenv.mkDerivation rec { license = lib.licenses.bsd2; maintainers = with lib.maintainers; [ siers ]; mainProgram = "tetris"; + platforms = lib.platforms.unix; longDescription = '' vitetris is a terminal-based Tetris clone by Victor Nilsson. Gameplay is much