Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.

Commit

Permalink
love_0_8: fix broken build
Browse files Browse the repository at this point in the history
  • Loading branch information
aanderse committed Sep 11, 2019
1 parent 2bcd4fa commit ef11431
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions pkgs/development/interpreters/love/0.8.nix
Expand Up @@ -5,9 +5,11 @@
}:

stdenv.mkDerivation rec {
name = "love-0.8.0";
pname = "love";
version = "0.8.0";

src = fetchurl {
url = "https://bitbucket.org/rude/love/downloads/${name}-linux-src.tar.gz";
url = "https://bitbucket.org/rude/love/downloads/${pname}-${version}-linux-src.tar.gz";
sha256 = "1k4fcsa8zzi04ja179bmj24hvqcbm3icfvrvrzyz2gw9qwfclrwi";
};

Expand Down Expand Up @@ -36,13 +38,14 @@ stdenv.mkDerivation rec {
} || true
'';

NIX_CFLAGS_COMPILE = ''
-I${SDL.dev}/include/SDL
-I${freetype.dev}include/freetype2
'';
NIX_CFLAGS_COMPILE = [
"-I${SDL.dev}/include/SDL"
"-I${freetype.dev}include/freetype2"
"-DGL_GLEXT_PROTOTYPES" # https://community.khronos.org/t/glgenbuffers-was-not-declared-in-this-scope/59283/2
];

meta = {
homepage = http://love2d.org;
homepage = "http://love2d.org";
description = "A Lua-based 2D game engine/scripting language";
license = stdenv.lib.licenses.zlib;

Expand Down

0 comments on commit ef11431

Please sign in to comment.