From a07a5a19317584a941649b413c8ea603a36cabeb Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Mon, 22 Aug 2016 06:29:06 +0300 Subject: [PATCH] armagetronad: fix build --- pkgs/games/armagetronad/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/games/armagetronad/default.nix b/pkgs/games/armagetronad/default.nix index 651278b0cf00..0ff040980573 100644 --- a/pkgs/games/armagetronad/default.nix +++ b/pkgs/games/armagetronad/default.nix @@ -1,4 +1,4 @@ -{stdenv, fetchurl, SDL, libxml2, SDL_image, libjpeg, mesa, zlib} : +{ stdenv, fetchurl, SDL, libxml2, SDL_image, libjpeg, libpng, mesa, zlib }: let versionMajor = "0.2.8"; @@ -13,13 +13,13 @@ stdenv.mkDerivation { sha256 = "1s55irhg60fpmhy8wwxpdq7c45r1mqch6zpicyb2wf9ln60xgwnx"; }; - NIX_LDFLAGS = "-lSDL_image"; + NIX_LDFLAGS = [ "-lSDL_image" ]; - configureFlags ="--disable-etc"; - buildInputs = [SDL SDL_image libxml2 libjpeg mesa zlib]; + configureFlags = [ "--disable-etc" ]; + buildInputs = [ SDL SDL_image libxml2 libjpeg libpng mesa zlib ]; meta = with stdenv.lib; { - homepage = http://armagetronad.org; + homepage = "http://armagetronad.org"; description = "An multiplayer networked arcade racing game in 3D similar to Tron"; license = licenses.gpl2; platforms = platforms.linux;