re2: fix for pkgsStatic (#110581)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
tobim
2021-01-24 00:54:44 +01:00
committed by GitHub
co-authored by Sandro
parent 57517f4c9b
commit 4369705756
@@ -17,10 +17,14 @@ stdenv.mkDerivation {
substituteInPlace Makefile --replace "SED_INPLACE=sed -i '''" "SED_INPLACE=sed -i" substituteInPlace Makefile --replace "SED_INPLACE=sed -i '''" "SED_INPLACE=sed -i"
''; '';
buildFlags = lib.optionals stdenv.hostPlatform.isStatic [ "static" ];
preCheck = "patchShebangs runtests"; preCheck = "patchShebangs runtests";
doCheck = true; doCheck = true;
checkTarget = "test"; checkTarget = "test";
installTargets = lib.optionals stdenv.hostPlatform.isStatic [ "static-install" ];
doInstallCheck = true; doInstallCheck = true;
installCheckTarget = "testinstall"; installCheckTarget = "testinstall";