re2: enable check, installCheck

This commit is contained in:
Robert Scott 2019-05-31 22:28:45 +01:00
parent 9ecdc72b36
commit 6a1ade5fca

View File

@ -17,6 +17,13 @@ stdenv.mkDerivation rec {
substituteInPlace Makefile --replace "SED_INPLACE=sed -i '''" "SED_INPLACE=sed -i"
'';
preCheck = "patchShebangs runtests";
doCheck = true;
checkTarget = "test";
doInstallCheck = true;
installCheckTarget = "testinstall";
meta = {
homepage = https://github.com/google/re2;
description = "An efficient, principled regular expression library";