summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/iter
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2020-11-30 08:18:38 +0100
committerVincent Laporte <vbgl@users.noreply.github.com>2020-12-05 17:13:44 +0100
commitdf114c20919883b99ca9c093edafeffa0f5eb758 (patch)
tree1256e7cad5b0ec50bf8f345ae751c0e7d990c8d3 /pkgs/development/ocaml-modules/iter
parent3d66135e6bc7bce8491a4cf096f818678b8b411b (diff)
downloadnixpkgs-df114c20919883b99ca9c093edafeffa0f5eb758.tar
nixpkgs-df114c20919883b99ca9c093edafeffa0f5eb758.tar.gz
nixpkgs-df114c20919883b99ca9c093edafeffa0f5eb758.tar.bz2
nixpkgs-df114c20919883b99ca9c093edafeffa0f5eb758.tar.lz
nixpkgs-df114c20919883b99ca9c093edafeffa0f5eb758.tar.xz
nixpkgs-df114c20919883b99ca9c093edafeffa0f5eb758.tar.zst
nixpkgs-df114c20919883b99ca9c093edafeffa0f5eb758.zip
ocamlPackages.iter: use Dune 2
Diffstat (limited to 'pkgs/development/ocaml-modules/iter')
-rw-r--r--pkgs/development/ocaml-modules/iter/default.nix9
1 files changed, 7 insertions, 2 deletions
diff --git a/pkgs/development/ocaml-modules/iter/default.nix b/pkgs/development/ocaml-modules/iter/default.nix
index 66f3f26285e..d7b3ff64d30 100644
--- a/pkgs/development/ocaml-modules/iter/default.nix
+++ b/pkgs/development/ocaml-modules/iter/default.nix
@@ -1,9 +1,13 @@
-{ lib, fetchFromGitHub, buildDunePackage, ocaml, mdx, qtest, result }:
+{ lib, fetchFromGitHub, buildDunePackage, ocaml, dune-configurator
+, mdx, qtest, result
+}:
 
 buildDunePackage rec {
   pname = "iter";
   version = "1.2.1";
 
+  useDune2 = true;
+
   src = fetchFromGitHub {
     owner = "c-cube";
     repo = pname;
@@ -11,10 +15,11 @@ buildDunePackage rec {
     sha256 = "0j2sg50byn0ppmf6l36ksip7zx1d3gv7sc4hbbxs2rmx39jr7vxh";
   };
 
-  buildInputs = lib.optionals doCheck [ mdx.bin qtest ];
+  buildInputs = [ dune-configurator ];
   propagatedBuildInputs = [ result ];
 
   doCheck = lib.versionAtLeast ocaml.version "4.07";
+  checkInputs = [ mdx.bin qtest ];
 
   meta = {
     homepage = "https://github.com/c-cube/sequence";