From a028138adf241945d2e4b082851d82978674a88b Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Sun, 28 Jun 2020 11:59:52 +0200 Subject: [PATCH] =?UTF-8?q?ocamlPackages.inotify:=20fix=20tests=20with=20L?= =?UTF-8?q?wt=20=E2=89=A5=205?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/development/ocaml-modules/inotify/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/ocaml-modules/inotify/default.nix b/pkgs/development/ocaml-modules/inotify/default.nix index e3599a2304a..44b34beb79d 100644 --- a/pkgs/development/ocaml-modules/inotify/default.nix +++ b/pkgs/development/ocaml-modules/inotify/default.nix @@ -25,6 +25,10 @@ stdenv.mkDerivation rec { configureFlags = [ "--enable-lwt" (stdenv.lib.optionalString doCheck "--enable-tests") ]; + postConfigure = stdenv.lib.optionalString doCheck '' + echo ': pkg_threads' | tee -a _tags + ''; + doCheck = true; checkTarget = "test";