From 3c2b21ccf859b43800459a10ae36b251dfe56e14 Mon Sep 17 00:00:00 2001 From: Tobias Mayer Date: Tue, 9 Aug 2022 14:48:44 +0200 Subject: [PATCH] pkgsStatic.re2: fix build --- pkgs/development/libraries/re2/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/re2/default.nix b/pkgs/development/libraries/re2/default.nix index 38a5194b1b3f..2e163a79d596 100644 --- a/pkgs/development/libraries/re2/default.nix +++ b/pkgs/development/libraries/re2/default.nix @@ -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 {