tpm2-tss: don't test on 32-bit

swtpm doesn't build on 32-bit targets so we can't run the tests.
This commit is contained in:
K900
2026-06-28 17:18:23 +03:00
parent 8240c4665a
commit db6a864679
@@ -167,7 +167,9 @@ stdenv.mkDerivation (finalAttrs: {
stdenv.buildPlatform.canExecute stdenv.hostPlatform
&& !stdenv.hostPlatform.isDarwin
# Tests rely on mocking, which can't work with static libs.
&& !stdenv.hostPlatform.isStatic;
&& !stdenv.hostPlatform.isStatic
# swtpm does not build on 32-bit targets
&& !stdenv.hostPlatform.is32bit;
# Since we rewrote the load path in the dynamic loader for the TCTI
# The various tcti implementation should be placed in their target directory
# before we could run tests, so we make turn checkPhase into installCheckPhase