gravit: fix build

This commit is contained in:
Nikolay Amiantov 2016-08-28 00:22:59 +03:00
parent 21c8422f7e
commit 1db4cb750c

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, SDL, SDL_ttf, SDL_image, mesa, libpng, lua5, automake, autoconf }: { stdenv, fetchurl, SDL, SDL_ttf, SDL_image, libSM, libICE, mesa, libpng, lua5, autoconf, automake }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "gravit-0.5.1"; name = "gravit-0.5.1";
@ -8,9 +8,11 @@ stdenv.mkDerivation rec {
sha256 = "14vf7zj2bgrl96wsl3f1knsggc8h9624354ajzd72l46y09x5ky7"; sha256 = "14vf7zj2bgrl96wsl3f1knsggc8h9624354ajzd72l46y09x5ky7";
}; };
buildInputs = [mesa SDL SDL_ttf SDL_image lua5 automake autoconf libpng]; buildInputs = [ mesa SDL SDL_ttf SDL_image lua5 libpng libSM libICE ];
preConfigure = "sh autogen.sh"; nativeBuildInputs = [ autoconf automake ];
preConfigure = "./autogen.sh";
meta = { meta = {
homepage = "http://gravit.slowchop.com"; homepage = "http://gravit.slowchop.com";