diff --git a/pkgs/applications/science/logic/acgtk/default.nix b/pkgs/applications/science/logic/acgtk/default.nix index c627b8a3c8f5..693bc306f21e 100644 --- a/pkgs/applications/science/logic/acgtk/default.nix +++ b/pkgs/applications/science/logic/acgtk/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchFromGitLab, dune_2, ocamlPackages }: +{ lib, stdenv, fetchFromGitLab, dune_3, ocamlPackages }: stdenv.mkDerivation { @@ -15,7 +15,7 @@ stdenv.mkDerivation { strictDeps = true; - nativeBuildInputs = with ocamlPackages; [ menhir ocaml findlib dune_2 ]; + nativeBuildInputs = with ocamlPackages; [ menhir ocaml findlib dune_3 ]; buildInputs = with ocamlPackages; [ ansiterminal cairo2 cmdliner fmt logs menhirLib mtime sedlex yojson diff --git a/pkgs/development/ocaml-modules/gen/default.nix b/pkgs/development/ocaml-modules/gen/default.nix index ee932bffd5e6..86dbc61f6faf 100644 --- a/pkgs/development/ocaml-modules/gen/default.nix +++ b/pkgs/development/ocaml-modules/gen/default.nix @@ -1,22 +1,21 @@ { lib, buildDunePackage, fetchFromGitHub, ocaml -, dune-configurator , seq , qcheck, ounit2 }: buildDunePackage rec { - version = "1.0"; + version = "1.1"; pname = "gen"; minimalOCamlVersion = "4.03"; + duneVersion = "3"; src = fetchFromGitHub { owner = "c-cube"; repo = "gen"; rev = "v${version}"; - hash = "sha256-YWoVcl2TQoMIgU1LoKL16ia31zJjwAMwuphtSXnhtvw="; + hash = "sha256-ZytPPGhmt/uANaSgkgsUBOwyQ9ka5H4J+5CnJpEdrNk="; }; - buildInputs = [ dune-configurator ]; propagatedBuildInputs = [ seq ]; checkInputs = [ qcheck ounit2 ]; diff --git a/pkgs/development/ocaml-modules/higlo/default.nix b/pkgs/development/ocaml-modules/higlo/default.nix index 87a4186a68c3..da843fe15112 100644 --- a/pkgs/development/ocaml-modules/higlo/default.nix +++ b/pkgs/development/ocaml-modules/higlo/default.nix @@ -3,7 +3,7 @@ buildDunePackage rec { pname = "higlo"; version = "0.8"; - useDune2 = true; + duneVersion = "3"; src = fetchFromGitLab { domain = "framagit.org"; owner = "zoggy"; diff --git a/pkgs/development/ocaml-modules/iri/default.nix b/pkgs/development/ocaml-modules/iri/default.nix index 22f106975868..0ea05cb7b9ba 100644 --- a/pkgs/development/ocaml-modules/iri/default.nix +++ b/pkgs/development/ocaml-modules/iri/default.nix @@ -5,7 +5,7 @@ buildDunePackage rec { pname = "iri"; version = "0.6.0"; - useDune2 = true; + duneVersion = "3"; src = fetchFromGitLab { domain = "framagit.org"; diff --git a/pkgs/development/ocaml-modules/sedlex/default.nix b/pkgs/development/ocaml-modules/sedlex/default.nix index 27756fdcd26e..0ce962417ed7 100644 --- a/pkgs/development/ocaml-modules/sedlex/default.nix +++ b/pkgs/development/ocaml-modules/sedlex/default.nix @@ -47,6 +47,7 @@ buildDunePackage rec { inherit (param) version; minimalOCamlVersion = "4.08"; + duneVersion = "3"; src = fetchFromGitHub { owner = "ocaml-community"; diff --git a/pkgs/development/ocaml-modules/xtmpl/default.nix b/pkgs/development/ocaml-modules/xtmpl/default.nix index 6b4771fe1ff4..47e153e53c2d 100644 --- a/pkgs/development/ocaml-modules/xtmpl/default.nix +++ b/pkgs/development/ocaml-modules/xtmpl/default.nix @@ -3,7 +3,7 @@ buildDunePackage rec { pname = "xtmpl"; version = "0.19.0"; - useDune2 = true; + duneVersion = "3"; src = fetchFromGitLab { domain = "framagit.org"; owner = "zoggy"; diff --git a/pkgs/development/ocaml-modules/xtmpl/ppx.nix b/pkgs/development/ocaml-modules/xtmpl/ppx.nix index b6f5bd65000f..0e23cdc48f70 100644 --- a/pkgs/development/ocaml-modules/xtmpl/ppx.nix +++ b/pkgs/development/ocaml-modules/xtmpl/ppx.nix @@ -3,8 +3,9 @@ buildDunePackage { pname = "xtmpl_ppx"; minimalOCamlVersion = "4.11"; + duneVersion = "3"; - inherit (xtmpl) src version useDune2; + inherit (xtmpl) src version; buildInputs = [ ppxlib xtmpl ];