Skip to content

Commit 548bd1e

Browse files
marsamvbgl
authored andcommitted
1 parent 6072bac commit 548bd1e

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

pkgs/development/ocaml-modules/dune-private-libs/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ buildDunePackage rec {
77

88
inherit (dune_2) src version;
99

10-
minimumOCamlVersion = "4.07";
10+
minimumOCamlVersion = "4.08";
1111

1212
dontAddPrefix = true;
1313

pkgs/development/tools/ocaml/dune/2.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{ stdenv, fetchurl, ocaml, findlib }:
22

3-
if stdenv.lib.versionOlder ocaml.version "4.07"
3+
if stdenv.lib.versionOlder ocaml.version "4.08"
44
then throw "dune is not available for OCaml ${ocaml.version}"
55
else
66

77
stdenv.mkDerivation rec {
88
pname = "dune";
9-
version = "2.6.2";
9+
version = "2.7.0";
1010

1111
src = fetchurl {
1212
url = "https://github.com/ocaml/dune/releases/download/${version}/dune-${version}.tbz";
13-
sha256 = "1sc8ax198z42vhc3l6i04kknm9g44whifjivs19qgi3sybrw2vjg";
13+
sha256 = "058wiyncczbmlfxj3cnwn5n68wkmbaf4mgjm2bkp2hffpn2wl5xl";
1414
};
1515

1616
buildInputs = [ ocaml findlib ];

pkgs/top-level/ocaml-packages.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ let
220220
dune = callPackage ../development/tools/ocaml/dune { };
221221

222222
dune_2 =
223-
if lib.versionAtLeast ocaml.version "4.07"
223+
if lib.versionAtLeast ocaml.version "4.08"
224224
then callPackage ../development/tools/ocaml/dune/2.nix { }
225225
else if lib.versionAtLeast ocaml.version "4.02"
226226
then pkgs.dune_2

0 commit comments

Comments
 (0)