summary refs log tree commit diff
path: root/pkgs/games/armagetronad
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/games/armagetronad')
-rw-r--r--pkgs/games/armagetronad/default.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/games/armagetronad/default.nix b/pkgs/games/armagetronad/default.nix
index 651278b0cf0..0ff04098057 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;