about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/imagelib
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/ocaml-modules/imagelib')
-rw-r--r--nixpkgs/pkgs/development/ocaml-modules/imagelib/default.nix3
-rw-r--r--nixpkgs/pkgs/development/ocaml-modules/imagelib/unix.nix2
2 files changed, 4 insertions, 1 deletions
diff --git a/nixpkgs/pkgs/development/ocaml-modules/imagelib/default.nix b/nixpkgs/pkgs/development/ocaml-modules/imagelib/default.nix
index 12b8a757e16f..46bd4b962681 100644
--- a/nixpkgs/pkgs/development/ocaml-modules/imagelib/default.nix
+++ b/nixpkgs/pkgs/development/ocaml-modules/imagelib/default.nix
@@ -4,6 +4,9 @@ buildDunePackage rec {
   minimumOCamlVersion = "4.07";
   version = "20191011";
   pname = "imagelib";
+
+  useDune2 = true;
+
   src = fetchFromGitHub {
     owner = "rlepigre";
     repo = "ocaml-imagelib";
diff --git a/nixpkgs/pkgs/development/ocaml-modules/imagelib/unix.nix b/nixpkgs/pkgs/development/ocaml-modules/imagelib/unix.nix
index 48986b15a8f8..a188165a48fa 100644
--- a/nixpkgs/pkgs/development/ocaml-modules/imagelib/unix.nix
+++ b/nixpkgs/pkgs/development/ocaml-modules/imagelib/unix.nix
@@ -2,7 +2,7 @@
 
 buildDunePackage {
   pname = "imagelib-unix";
-  inherit (imagelib) version src meta;
+  inherit (imagelib) version src useDune2 meta;
 
   propagatedBuildInputs = [ imagelib ];
 }