summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/cfstream
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/ocaml-modules/cfstream')
-rw-r--r--pkgs/development/ocaml-modules/cfstream/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/development/ocaml-modules/cfstream/default.nix b/pkgs/development/ocaml-modules/cfstream/default.nix
index 0ec1949f562..303fdc01011 100644
--- a/pkgs/development/ocaml-modules/cfstream/default.nix
+++ b/pkgs/development/ocaml-modules/cfstream/default.nix
@@ -1,9 +1,11 @@
-{ stdenv, buildDunePackage, fetchFromGitHub, m4, core_kernel, ounit }:
+{ lib, buildDunePackage, fetchFromGitHub, m4, core_kernel, ounit }:
 
 buildDunePackage rec {
   pname = "cfstream";
   version = "1.3.1";
 
+  useDune2 = true;
+
   minimumOCamlVersion = "4.04.1";
 
   src = fetchFromGitHub {
@@ -21,7 +23,7 @@ buildDunePackage rec {
 
   doCheck = true;
 
-  meta = with stdenv.lib; {
+  meta = with lib; {
     inherit (src.meta) homepage;
     description = "Simple Core-inspired wrapper for standard library Stream module";
     maintainers = [ maintainers.bcdarwin ];