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 <timosha1113@gmail.com>
This commit is contained in:
Timofey 2024-04-27 19:50:31 +03:00 committed by GitHub
parent 6d8fa5877a
commit efff97cba6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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