mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 10:23:29 +00:00
ocamlPackages.tcpip: fix tests with alcotest 1.4.0
This commit is contained in:
parent
2d1f4d4dab
commit
14a2f48bf2
@ -26,6 +26,14 @@ buildDunePackage rec {
|
||||
./makefile-no-opam.patch
|
||||
];
|
||||
|
||||
# Make tests compatible with alcotest 1.4.0
|
||||
postPatch = ''
|
||||
for p in common.ml test_tcp_options.ml
|
||||
do
|
||||
substituteInPlace test/$p --replace 'Fmt.kstrf Alcotest.fail' 'Fmt.kstrf (fun s -> Alcotest.fail s)'
|
||||
done
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
bisect_ppx
|
||||
ppx_cstruct
|
||||
|
Loading…
Reference in New Issue
Block a user