ocamlPackages.inotify: fix tests with Lwt ≥ 5

This commit is contained in:
Vincent Laporte 2020-06-28 11:59:52 +02:00 committed by Vincent Laporte
parent 0270bea441
commit a028138adf

View file

@ -25,6 +25,10 @@ stdenv.mkDerivation rec {
configureFlags = [ "--enable-lwt"
(stdenv.lib.optionalString doCheck "--enable-tests") ];
postConfigure = stdenv.lib.optionalString doCheck ''
echo '<lib_test/test_inotify_lwt.*>: pkg_threads' | tee -a _tags
'';
doCheck = true;
checkTarget = "test";