ocamlPackages.inotify: fix tests with Lwt ≥ 5
commita028138adf241945d2e4b082851d82978674a88b
authorVincent Laporte <Vincent.Laporte@gmail.com>
dateSun 28 Jun 2020, 11:59 (6 years ago)
parent0270bea
pkgs/development/ocaml-modules/inotify/default.nix+4
@@ -25,6 +25,10 @@ stdenv.mkDerivation rec {
2525 configureFlags = [ "--enable-lwt"
2626 (stdenv.lib.optionalString doCheck "--enable-tests") ];
2727
28+ postConfigure = stdenv.lib.optionalString doCheck ''
29+ echo '<lib_test/test_inotify_lwt.*>: pkg_threads' | tee -a _tags
30+ '';
31+
2832 doCheck = true;
2933 checkTarget = "test";
3034