diff --git a/pkgs/development/ocaml-modules/domain-name/default.nix b/pkgs/development/ocaml-modules/domain-name/default.nix index cb0105ff46fa..a34c06aa8ee1 100644 --- a/pkgs/development/ocaml-modules/domain-name/default.nix +++ b/pkgs/development/ocaml-modules/domain-name/default.nix @@ -7,6 +7,8 @@ buildDunePackage rec { pname = "domain-name"; version = "0.3.0"; + useDune2 = true; + src = fetchurl { url = "https://github.com/hannesm/domain-name/releases/download/v${version}/domain-name-v${version}.tbz"; sha256 = "12kc9p2a2fi1ipc2hyhbzivxpph3npglxwdgvhd6v20rqqdyvnad"; @@ -14,7 +16,7 @@ buildDunePackage rec { minimumOCamlVersion = "4.03"; - buildInputs = [ alcotest ]; + checkInputs = [ alcotest ]; propagatedBuildInputs = [ astring fmt ];