gravit: enable support for lua 5.0.x

The build doesn't work with the latest version 5.1.x. Upstream is going
to release an update to fix this soon.

svn path=/nixpkgs/trunk/; revision=27693
This commit is contained in:
Peter Simons 2011-07-10 14:04:24 +00:00
parent c9695f2d48
commit 3806050f60

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, SDL, SDL_ttf, SDL_image, mesa }: { stdenv, fetchurl, SDL, SDL_ttf, SDL_image, mesa, lua5_0 }:
let let
name = "gravit-0.4.2"; name = "gravit-0.4.2";
@ -11,7 +11,7 @@ stdenv.mkDerivation {
sha256 = "f37f3ac256a4acbf575f709addaae8cb01eda4f85537affa28c45f2df6fddb07"; sha256 = "f37f3ac256a4acbf575f709addaae8cb01eda4f85537affa28c45f2df6fddb07";
}; };
buildInputs = [mesa SDL SDL_ttf SDL_image]; buildInputs = [mesa SDL SDL_ttf SDL_image lua5_0];
configureFlags = "CFLAGS=-O3 CXXFLAGS=-O3"; configureFlags = "CFLAGS=-O3 CXXFLAGS=-O3";