diff options
author | Tobias Mayer <tobim@fastmail.fm> | 2022-08-09 14:48:44 +0200 |
---|---|---|
committer | Tobias Mayer <tobim@fastmail.fm> | 2022-08-09 14:48:44 +0200 |
commit | 3c2b21ccf859b43800459a10ae36b251dfe56e14 (patch) | |
tree | b810740cdaa243b32bdee159b34b516f899d7fa6 /pkgs/development/libraries/re2 | |
parent | 65f39b913d0910907ea22be29f108402924644c2 (diff) |
pkgsStatic.re2: fix build
Diffstat (limited to 'pkgs/development/libraries/re2')
-rw-r--r-- | pkgs/development/libraries/re2/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/re2/default.nix b/pkgs/development/libraries/re2/default.nix index 38a5194b1b3f8..2e163a79d596b 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 { |