lol

ocamlPackages.qtest: fix for OCaml 5.0

authored by

Vincent Laporte and committed by
Vincent Laporte
09c1d496 b29bccf1

+6 -2
+6 -2
pkgs/development/ocaml-modules/qtest/default.nix
··· 4 pname = "qtest"; 5 version = "2.11.2"; 6 7 - duneVersion = "3"; 8 - 9 src = fetchFromGitHub { 10 owner = "vincent-hugot"; 11 repo = pname; 12 rev = "v${version}"; 13 sha256 = "sha256-VLY8+Nu6md0szW4RVxTFwlSQ9kyrgUqf7wQEA6GW8BE="; 14 }; 15 16 propagatedBuildInputs = [ qcheck ]; 17
··· 4 pname = "qtest"; 5 version = "2.11.2"; 6 7 src = fetchFromGitHub { 8 owner = "vincent-hugot"; 9 repo = pname; 10 rev = "v${version}"; 11 sha256 = "sha256-VLY8+Nu6md0szW4RVxTFwlSQ9kyrgUqf7wQEA6GW8BE="; 12 }; 13 + 14 + preBuild = '' 15 + substituteInPlace src/dune \ 16 + --replace "(libraries bytes)" "" \ 17 + --replace "libraries qcheck ounit2 bytes" "libraries qcheck ounit2" 18 + ''; 19 20 propagatedBuildInputs = [ qcheck ]; 21