diff options
author | Dmitry Kalinkin <dmitry.kalinkin@gmail.com> | 2018-12-22 18:01:20 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-22 18:01:20 -0500 |
commit | 98625b2bee4cd36f01de370b5a7af0b8121f4e78 (patch) | |
tree | 8eebd6d858c6afa8fddc131e9d4f437693a2eecf /pkgs/games/bzflag | |
parent | f21a4733d0e9a7a68f8314dbce2c851265d49a57 (diff) |
bzflag: enable on darwin (#52707)
Diffstat (limited to 'pkgs/games/bzflag')
-rw-r--r-- | pkgs/games/bzflag/default.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/games/bzflag/default.nix b/pkgs/games/bzflag/default.nix index c114443e1e720..6c7e9ac76a999 100644 --- a/pkgs/games/bzflag/default.nix +++ b/pkgs/games/bzflag/default.nix @@ -1,5 +1,6 @@ { stdenv, lib, fetchurl, pkgconfig -, curl, SDL2, libGLU_combined, glew, ncurses, c-ares }: +, curl, SDL2, libGLU_combined, glew, ncurses, c-ares +, Carbon, CoreServices }: stdenv.mkDerivation rec { name = "${pname}-${version}"; @@ -12,13 +13,14 @@ stdenv.mkDerivation rec { }; nativeBuildInputs = [ pkgconfig ]; - buildInputs = [ curl SDL2 libGLU_combined glew ncurses c-ares ]; + buildInputs = [ curl SDL2 libGLU_combined glew ncurses c-ares ] + ++ lib.optionals stdenv.isDarwin [ Carbon CoreServices ]; meta = with lib; { description = "Multiplayer 3D Tank game"; homepage = https://bzflag.org/; license = licenses.lgpl21Plus; - platforms = platforms.linux; + platforms = platforms.unix; maintainers = with maintainers; [ fpletz ]; }; } |