diff --git a/pkgs/development/libraries/hyperscan/default.nix b/pkgs/development/libraries/hyperscan/default.nix index b04d5966a5a..2bfde78f7db 100644 --- a/pkgs/development/libraries/hyperscan/default.nix +++ b/pkgs/development/libraries/hyperscan/default.nix @@ -41,6 +41,15 @@ stdenv.mkDerivation (finalAttrs: { --replace "includedir=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_INCLUDEDIR@" "includedir=@CMAKE_INSTALL_INCLUDEDIR@" ''; + doCheck = true; + checkPhase = '' + runHook preCheck + + bin/unit-hyperscan + + runHook postCheck + ''; + meta = with lib; { description = "High-performance multiple regex matching library"; longDescription = ''