armagetronad: fix build

This commit is contained in:
Nikolay Amiantov 2016-08-22 06:29:06 +03:00
parent 231fca0b7d
commit a07a5a1931

View file

@ -1,4 +1,4 @@
{stdenv, fetchurl, SDL, libxml2, SDL_image, libjpeg, mesa, zlib} : { stdenv, fetchurl, SDL, libxml2, SDL_image, libjpeg, libpng, mesa, zlib }:
let let
versionMajor = "0.2.8"; versionMajor = "0.2.8";
@ -13,13 +13,13 @@ stdenv.mkDerivation {
sha256 = "1s55irhg60fpmhy8wwxpdq7c45r1mqch6zpicyb2wf9ln60xgwnx"; sha256 = "1s55irhg60fpmhy8wwxpdq7c45r1mqch6zpicyb2wf9ln60xgwnx";
}; };
NIX_LDFLAGS = "-lSDL_image"; NIX_LDFLAGS = [ "-lSDL_image" ];
configureFlags ="--disable-etc"; configureFlags = [ "--disable-etc" ];
buildInputs = [SDL SDL_image libxml2 libjpeg mesa zlib]; buildInputs = [ SDL SDL_image libxml2 libjpeg libpng mesa zlib ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = http://armagetronad.org; homepage = "http://armagetronad.org";
description = "An multiplayer networked arcade racing game in 3D similar to Tron"; description = "An multiplayer networked arcade racing game in 3D similar to Tron";
license = licenses.gpl2; license = licenses.gpl2;
platforms = platforms.linux; platforms = platforms.linux;