diff --git a/pkgs/development/ocaml-modules/imagelib/default.nix b/pkgs/development/ocaml-modules/imagelib/default.nix index 12b8a757e16..46bd4b96268 100644 --- a/pkgs/development/ocaml-modules/imagelib/default.nix +++ b/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/pkgs/development/ocaml-modules/imagelib/unix.nix b/pkgs/development/ocaml-modules/imagelib/unix.nix index 48986b15a8f..a188165a48f 100644 --- a/pkgs/development/ocaml-modules/imagelib/unix.nix +++ b/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 ]; }