ocaml: init at 4.07.0+beta2
commit5c4ee2a3ab9f278b12d9196e59307e65f5fed88c
authorVincent Laporte <Vincent.Laporte@gmail.com>
dateWed 18 Apr 2018, 12:47 (9 years ago)
parentc4b7bbf
pkgs/development/compilers/ocaml/4.07.nixnew file+9
@@ -0,0 +1,9 @@
1+import ./generic.nix {
2+ major_version = "4";
3+ minor_version = "07";
4+ patch_version = "0+beta2";
5+ sha256 = "0rrvl47kq982z2ns7cnasmlbj60mpmza2zyhl1kh45c5a3n7692n";
6+
7+ # If the executable is stripped it does not work
8+ dontStrip = true;
9+}
pkgs/development/compilers/ocaml/generic.nix+2−1
@@ -45,7 +45,8 @@ stdenv.mkDerivation (args // rec {
4545 ;
4646
4747 buildFlags = "world" + optionalString useNativeCompilers " bootstrap world.opt";
48− buildInputs = [ncurses] ++ optionals useX11 [ libX11 xproto ];
48+ buildInputs = optional (!stdenv.lib.versionAtLeast version "4.07") ncurses
49+ ++ optionals useX11 [ libX11 xproto ];
4950 installTargets = "install" + optionalString useNativeCompilers " installopt";
5051 preConfigure = optionalString (!stdenv.lib.versionAtLeast version "4.04") ''
5152 CAT=$(type -tp cat)
pkgs/top-level/ocaml-packages.nix+2
@@ -1042,6 +1042,8 @@ in rec
10421042
10431043 ocamlPackages_4_06 = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.06.nix { }) (self: super: { });
10441044
1045+ ocamlPackages_4_07 = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.07.nix { }) (self: super: { });
1046+
10451047 ocamlPackages_latest = ocamlPackages_4_06;
10461048
10471049 ocamlPackages = ocamlPackages_4_05;