Merge pull request #185776 from tobim/pkgs/re2-static

pkgsStatic.re2: fix build
This commit is contained in:
Robert Scott 2022-08-09 22:32:20 +01:00 committed by GitHub
commit 9d5898afcf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,12 +36,12 @@ stdenv.mkDerivation rec {
preCheck = "patchShebangs runtests"; preCheck = "patchShebangs runtests";
doCheck = true; doCheck = true;
checkTarget = "test"; checkTarget = if stdenv.hostPlatform.isStatic then "static-test" else "test";
installTargets = lib.optionals stdenv.hostPlatform.isStatic [ "static-install" ]; installTargets = lib.optionals stdenv.hostPlatform.isStatic [ "static-install" ];
doInstallCheck = true; doInstallCheck = true;
installCheckTarget = "testinstall"; installCheckTarget = if stdenv.hostPlatform.isStatic then "static-testinstall" else "testinstall";
passthru = { passthru = {
updateScript = nix-update-script { updateScript = nix-update-script {