Fix haxe to compile with ocaml 4.02

camlp4 is now a separate package
This commit is contained in:
Samuel Rivas 2015-07-21 17:14:28 +02:00 committed by Vincent Laporte
parent 5342e2a598
commit d1e6f055fe
2 changed files with 5 additions and 3 deletions

View file

@ -1,9 +1,9 @@
{ stdenv, fetchgit, ocaml, zlib, neko }:
{ stdenv, fetchgit, ocaml, zlib, neko, camlp4 }:
stdenv.mkDerivation {
name = "haxe-3.1.3";
buildInputs = [ocaml zlib neko];
buildInputs = [ocaml zlib neko camlp4];
src = fetchgit {
url = "https://github.com/HaxeFoundation/haxe.git";

View file

@ -3972,7 +3972,9 @@ let
overrides = config.haskellPackageOverrides or (self: super: {});
};
haxe = callPackage ../development/compilers/haxe { };
haxe = callPackage ../development/compilers/haxe {
inherit (ocamlPackages) camlp4;
};
hxcpp = callPackage ../development/compilers/haxe/hxcpp.nix { };
hhvm = callPackage ../development/compilers/hhvm { };