diff --git a/pkgs/development/compilers/mlkit/default.nix b/pkgs/development/compilers/mlkit/default.nix index 5dbc219303a0..c4dfa85b70c1 100644 --- a/pkgs/development/compilers/mlkit/default.nix +++ b/pkgs/development/compilers/mlkit/default.nix @@ -15,6 +15,17 @@ stdenv.mkDerivation rec { buildFlags = [ "mlkit" "mlkit_libs" ]; + doCheck = true; + + checkPhase = '' + runHook preCheck + echo ==== Running MLKit test suite: test ==== + make -C test_dev test + echo ==== Running MLKit test suite: test_prof ==== + make -C test_dev test_prof + runHook postCheck + ''; + meta = with lib; { description = "Standard ML Compiler and Toolkit"; homepage = "https://elsman.com/mlkit/";