diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2023-06-05 07:41:51 +0200 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2023-06-12 07:19:11 +0200 |
commit | 09c1d496d9cbf3dfdc97aa8fcef395ebcbc3d1fa (patch) | |
tree | b21fd18d5a73f9751a86c50922fbbf5222bb0cb6 /pkgs/development/ocaml-modules | |
parent | b29bccf157ab80450115ead96d0c2f9ac02cc9e3 (diff) | |
download | nixlib-09c1d496d9cbf3dfdc97aa8fcef395ebcbc3d1fa.tar nixlib-09c1d496d9cbf3dfdc97aa8fcef395ebcbc3d1fa.tar.gz nixlib-09c1d496d9cbf3dfdc97aa8fcef395ebcbc3d1fa.tar.bz2 nixlib-09c1d496d9cbf3dfdc97aa8fcef395ebcbc3d1fa.tar.lz nixlib-09c1d496d9cbf3dfdc97aa8fcef395ebcbc3d1fa.tar.xz nixlib-09c1d496d9cbf3dfdc97aa8fcef395ebcbc3d1fa.tar.zst nixlib-09c1d496d9cbf3dfdc97aa8fcef395ebcbc3d1fa.zip |
ocamlPackages.qtest: fix for OCaml 5.0
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r-- | pkgs/development/ocaml-modules/qtest/default.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/development/ocaml-modules/qtest/default.nix b/pkgs/development/ocaml-modules/qtest/default.nix index ea0237201dc1..982e1ed92472 100644 --- a/pkgs/development/ocaml-modules/qtest/default.nix +++ b/pkgs/development/ocaml-modules/qtest/default.nix @@ -4,8 +4,6 @@ buildDunePackage rec { pname = "qtest"; version = "2.11.2"; - duneVersion = "3"; - src = fetchFromGitHub { owner = "vincent-hugot"; repo = pname; @@ -13,6 +11,12 @@ buildDunePackage rec { sha256 = "sha256-VLY8+Nu6md0szW4RVxTFwlSQ9kyrgUqf7wQEA6GW8BE="; }; + preBuild = '' + substituteInPlace src/dune \ + --replace "(libraries bytes)" "" \ + --replace "libraries qcheck ounit2 bytes" "libraries qcheck ounit2" + ''; + propagatedBuildInputs = [ qcheck ]; meta = { |