From e3c24c24fe2eadbd05fefa65d4d984888589d50f Mon Sep 17 00:00:00 2001 From: Fiona Behrens Date: Sun, 18 May 2025 14:56:54 +0200 Subject: [PATCH] tpm2-tss: disable tcti-libtpms on darwin Add the `--disable-tcti-libtpms` config flag if build on darwin. This was already done in a pr that also introduced darwin support for tpm2-tss[0] but a earlier one was merged[1] [0]: https://github.com/NixOS/nixpkgs/pull/370516 [1]: https://github.com/NixOS/nixpkgs/pull/365010 --- pkgs/development/libraries/tpm2-tss/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/tpm2-tss/default.nix b/pkgs/development/libraries/tpm2-tss/default.nix index b8b68919c807..1aa8f6344f59 100644 --- a/pkgs/development/libraries/tpm2-tss/default.nix +++ b/pkgs/development/libraries/tpm2-tss/default.nix @@ -137,6 +137,8 @@ stdenv.mkDerivation rec { # uchar.h required "--disable-fapi" "--disable-policy" + # uses fallocate + "--disable-tcti-libtpms" ]; postInstall = ''