Unverified Commit 9d5898af authored by Robert Scott's avatar Robert Scott Committed by GitHub
Browse files

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

pkgsStatic.re2: fix build
parents 4e67a004 3c2b21cc
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -36,12 +36,12 @@ stdenv.mkDerivation rec {

  preCheck = "patchShebangs runtests";
  doCheck = true;
  checkTarget = "test";
  checkTarget = if stdenv.hostPlatform.isStatic then "static-test" else "test";

  installTargets = lib.optionals stdenv.hostPlatform.isStatic [ "static-install" ];

  doInstallCheck = true;
  installCheckTarget = "testinstall";
  installCheckTarget = if stdenv.hostPlatform.isStatic then "static-testinstall" else "testinstall";

  passthru = {
    updateScript = nix-update-script {