0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 13:40:28 +03:00

tpm2-tss: test with better maintained swtpm

Switch tpm2-tss to swtpm, which is more widely used than the IBM one.
tpm2-tss contains tests for both TPM 2.0 emulators.

This fixes a failing test, with the updated IBM sw tpm version.

Signed-off-by: Markus Theil <theil.markus@gmail.com>
This commit is contained in:
Markus Theil 2024-09-04 23:58:25 +02:00
parent 7eb51a716e
commit 7ceece975d

View file

@ -1,7 +1,7 @@
{ stdenv, lib, fetchFromGitHub
, autoreconfHook, autoconf-archive, pkg-config, doxygen, perl
, openssl, json_c, curl, libgcrypt
, cmocka, uthash, ibm-sw-tpm2, iproute2, procps, which
, cmocka, uthash, swtpm, iproute2, procps, which
, libuuid
}:
let
@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
++ lib.optional doInstallCheck cmocka;
nativeInstallCheckInputs = [
cmocka which openssl procps_pkg iproute2 ibm-sw-tpm2
cmocka which openssl procps_pkg iproute2 swtpm
];
strictDeps = true;