re2: fix for pkgsStatic (#110581)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
master
tobim 2021-01-24 00:54:44 +01:00 committed by GitHub
parent 57517f4c9b
commit 4369705756
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -17,10 +17,14 @@ stdenv.mkDerivation {
substituteInPlace Makefile --replace "SED_INPLACE=sed -i '''" "SED_INPLACE=sed -i"
'';
buildFlags = lib.optionals stdenv.hostPlatform.isStatic [ "static" ];
preCheck = "patchShebangs runtests";
doCheck = true;
checkTarget = "test";
installTargets = lib.optionals stdenv.hostPlatform.isStatic [ "static-install" ];
doInstallCheck = true;
installCheckTarget = "testinstall";