diff options
author | Ben Siraphob <bensiraphob@gmail.com> | 2022-03-29 09:36:30 -0500 |
---|---|---|
committer | Ben Siraphob <bensiraphob@gmail.com> | 2022-03-29 09:36:30 -0500 |
commit | ea35502fe4db6f9be94ae8461bf14c223ccef180 (patch) | |
tree | 5e712748ec93288c505bc9ee5fa4176968e67f31 /pkgs/games/xtris | |
parent | f5054121cb287317c4ca8c409ef9c68f36658013 (diff) | |
download | nixpkgs-ea35502fe4db6f9be94ae8461bf14c223ccef180.tar nixpkgs-ea35502fe4db6f9be94ae8461bf14c223ccef180.tar.gz nixpkgs-ea35502fe4db6f9be94ae8461bf14c223ccef180.tar.bz2 nixpkgs-ea35502fe4db6f9be94ae8461bf14c223ccef180.tar.lz nixpkgs-ea35502fe4db6f9be94ae8461bf14c223ccef180.tar.xz nixpkgs-ea35502fe4db6f9be94ae8461bf14c223ccef180.tar.zst nixpkgs-ea35502fe4db6f9be94ae8461bf14c223ccef180.zip |
xtris: fix darwin build
Diffstat (limited to 'pkgs/games/xtris')
-rw-r--r-- | pkgs/games/xtris/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/games/xtris/default.nix b/pkgs/games/xtris/default.nix index e6da0c6f17c..2263a46187e 100644 --- a/pkgs/games/xtris/default.nix +++ b/pkgs/games/xtris/default.nix @@ -18,10 +18,12 @@ stdenv.mkDerivation rec { ''; buildInputs = [ xorg.libX11 ]; + makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ]; + meta = with lib; { description = "A multi-player version of the classical game of Tetris, for the X Window system"; homepage = "https://web.archive.org/web/20120315061213/http://www.iagora.com/~espel/xtris/xtris.html"; license = licenses.gpl2; - platforms = platforms.linux; + platforms = platforms.unix; }; } |