ocaml-lablgl: use camlp5

This commit is contained in:
Pascal Wittmann 2017-02-03 21:05:31 +01:00
parent 2352099a96
commit 7a6aac9076
No known key found for this signature in database
GPG Key ID: C899ACE7E2322852
2 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,4 @@
{stdenv, fetchurl, ocaml, lablgtk, findlib, mesa, freeglut, camlp4 } :
{stdenv, fetchurl, ocaml, lablgtk, findlib, mesa, freeglut, camlp5 } :
let
pname = "lablgl";
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
sha256 = "0qabydd219i4ak7hxgc67496qnnscpnydya2m4ijn3cpbgih7zyq";
};
buildInputs = [ocaml findlib lablgtk freeglut camlp4];
buildInputs = [ ocaml findlib lablgtk freeglut camlp5 ];
propagatedBuildInputs = [ mesa ];
patches = [ ./Makefile.config.patch ./META.patch ];

View File

@ -225,7 +225,9 @@ let
jsonm = callPackage ../development/ocaml-modules/jsonm { };
lablgl = callPackage ../development/ocaml-modules/lablgl { };
lablgl = callPackage ../development/ocaml-modules/lablgl {
camlp5 = camlp5_strict;
};
lablgtk_2_14 = callPackage ../development/ocaml-modules/lablgtk/2.14.0.nix {
inherit (pkgs.gnome2) libgnomecanvas libglade gtksourceview;