haxe: refactor out of ocamlPackages

This commit is contained in:
Vincent Laporte 2019-10-23 15:54:18 +00:00 committed by Vincent Laporte
parent 7e51c79f17
commit 60f50b69a6
3 changed files with 6 additions and 4 deletions

View file

@ -1,4 +1,6 @@
{ stdenv, fetchgit, coreutils, ocaml, zlib, pcre, neko, camlp4 }:
{ stdenv, fetchgit, coreutils, ocamlPackages, zlib, pcre, neko }:
let inherit (ocamlPackages) ocaml camlp4; in
let
generic = { version, sha256, prePatch }:

View file

@ -7986,7 +7986,9 @@ in
graphviz = graphviz-nox;
});
inherit (ocaml-ng.ocamlPackages_4_05.haxe) haxe_3_2 haxe_3_4;
inherit (callPackage ../development/compilers/haxe {
ocamlPackages = ocaml-ng.ocamlPackages_4_05;
}) haxe_3_2 haxe_3_4;
haxe = haxe_3_4;
haxePackages = recurseIntoAttrs (callPackage ./haxe-packages.nix { });
inherit (haxePackages) hxcpp;

View file

@ -1107,8 +1107,6 @@ let
# Apps / from all-packages
haxe = callPackage ../development/compilers/haxe { };
ocamlnat = callPackage ../development/ocaml-modules/ocamlnat { };
trv = callPackage ../development/tools/misc/trv { };