ocamlPackages.qtest: fix for OCaml 5.0
This commit is contained in:
parent
b29bccf157
commit
09c1d496d9
1 changed files with 6 additions and 2 deletions
|
@ -4,8 +4,6 @@ buildDunePackage rec {
|
||||||
pname = "qtest";
|
pname = "qtest";
|
||||||
version = "2.11.2";
|
version = "2.11.2";
|
||||||
|
|
||||||
duneVersion = "3";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "vincent-hugot";
|
owner = "vincent-hugot";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
|
@ -13,6 +11,12 @@ buildDunePackage rec {
|
||||||
sha256 = "sha256-VLY8+Nu6md0szW4RVxTFwlSQ9kyrgUqf7wQEA6GW8BE=";
|
sha256 = "sha256-VLY8+Nu6md0szW4RVxTFwlSQ9kyrgUqf7wQEA6GW8BE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
preBuild = ''
|
||||||
|
substituteInPlace src/dune \
|
||||||
|
--replace "(libraries bytes)" "" \
|
||||||
|
--replace "libraries qcheck ounit2 bytes" "libraries qcheck ounit2"
|
||||||
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [ qcheck ];
|
propagatedBuildInputs = [ qcheck ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|
Loading…
Reference in a new issue