Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions pkgs/development/libraries/tpm2-tss/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,11 @@ stdenv.mkDerivation (finalAttrs: {
done
substituteInPlace src/tss2-fapi/ifapi_config.c \
--replace-fail 'SYSCONFDIR' '"/etc"'

# https://github.com/tpm2-software/tpm2-tss/pull/3041
substituteInPlace test/unit/tcti-libtpms.c \
--replace-fail 'check_expected_ptr(st);' 'check_expected(st);' \
--replace-fail 'check_expected_ptr(buf_len);' 'check_expected(buf_len);'
''
# tcti tests rely on mocking function calls, which appears not to be supported
# on clang
Expand Down
Loading