xtris: fix darwin build

+3 -1
+3 -1
pkgs/games/xtris/default.nix
··· 18 ''; 19 buildInputs = [ xorg.libX11 ]; 20 21 meta = with lib; { 22 description = "A multi-player version of the classical game of Tetris, for the X Window system"; 23 homepage = "https://web.archive.org/web/20120315061213/http://www.iagora.com/~espel/xtris/xtris.html"; 24 license = licenses.gpl2; 25 - platforms = platforms.linux; 26 }; 27 }
··· 18 ''; 19 buildInputs = [ xorg.libX11 ]; 20 21 + makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ]; 22 + 23 meta = with lib; { 24 description = "A multi-player version of the classical game of Tetris, for the X Window system"; 25 homepage = "https://web.archive.org/web/20120315061213/http://www.iagora.com/~espel/xtris/xtris.html"; 26 license = licenses.gpl2; 27 + platforms = platforms.unix; 28 }; 29 }