From 254f2bad97c4148aa1a6e2f484d9849a63c5dcfa Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Wed, 18 Nov 2020 08:10:53 +0100 Subject: [PATCH] =?UTF-8?q?ocaml-ng.ocamlPackages=5F4=5F12.ocaml:=20init?= =?UTF-8?q?=20at=204.12.0-=CE=B11?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/development/compilers/ocaml/4.12.nix | 9 +++++++++ pkgs/top-level/ocaml-packages.nix | 2 ++ 2 files changed, 11 insertions(+) create mode 100644 pkgs/development/compilers/ocaml/4.12.nix diff --git a/pkgs/development/compilers/ocaml/4.12.nix b/pkgs/development/compilers/ocaml/4.12.nix new file mode 100644 index 0000000000000..9fa5d62423cc5 --- /dev/null +++ b/pkgs/development/compilers/ocaml/4.12.nix @@ -0,0 +1,9 @@ +import ./generic.nix { + major_version = "4"; + minor_version = "12"; + patch_version = "0-alpha1"; + src = fetchTarball { + url = "http://caml.inria.fr/pub/distrib/ocaml-4.12/ocaml-4.12.0~alpha1.tar.xz"; + sha256 = "1p9nnj7l43b697b6bm767znbf1h0s2lyc1qb8izr1vfpsmnm11ws"; + }; +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index 235ffb67c9b0e..64a23c21fc306 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -1257,6 +1257,8 @@ in let inherit (pkgs) callPackage; in rec ocamlPackages_4_11 = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.11.nix { }); + ocamlPackages_4_12 = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.12.nix { }); + ocamlPackages_latest = ocamlPackages_4_11; ocamlPackages = ocamlPackages_4_10;