about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/parmap
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2021-04-05 16:02:51 +0200
committerVincent Laporte <Vincent.Laporte@gmail.com>2021-04-05 16:50:15 +0200
commit938741a71b84ef05cbece6df236fbfbfe78feb0d (patch)
treeeba5dfcc055ae68580223090af8af673bdde1adb /pkgs/development/ocaml-modules/parmap
parent59e7ddef8ae8a8a2d3666daf75c3a827a27141f1 (diff)
ocamlPackages.parmap: use Dune 2
Diffstat (limited to 'pkgs/development/ocaml-modules/parmap')
-rw-r--r--pkgs/development/ocaml-modules/parmap/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/development/ocaml-modules/parmap/default.nix b/pkgs/development/ocaml-modules/parmap/default.nix
index 37006bf30da67..7adc8482b2321 100644
--- a/pkgs/development/ocaml-modules/parmap/default.nix
+++ b/pkgs/development/ocaml-modules/parmap/default.nix
@@ -1,14 +1,18 @@
-{ lib, buildDunePackage, fetchurl }:
+{ lib, buildDunePackage, fetchurl, dune-configurator }:
 
 buildDunePackage rec {
   pname = "parmap";
   version = "1.2";
 
+  useDune2 = true;
+
   src = fetchurl {
     url = "https://github.com/rdicosmo/${pname}/releases/download/${version}/${pname}-${version}.tbz";
     sha256 = "sha256-XUXptzD0eytaypaBQ+EBp4iVFRE6/Y0inS93t/YZrM8=";
   };
 
+  buildInputs = [ dune-configurator ];
+
   doCheck = true;
 
   meta = with lib; {