From 73c60d64a2c55520e742fde18065885f9f7d8740 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Sun, 1 Nov 2020 07:49:29 +0100 Subject: [PATCH] ocamlPackages.imagelib: use Dune 2 --- pkgs/development/ocaml-modules/imagelib/default.nix | 3 +++ pkgs/development/ocaml-modules/imagelib/unix.nix | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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 ]; }