From 3ce1c113c7285379df34e5e65b140efab0ccea24 Mon Sep 17 00:00:00 2001 From: Arthur Gautier Date: Mon, 9 Dec 2024 10:52:04 -0800 Subject: [PATCH] gnutls: fixup tpm support --- pkgs/development/libraries/gnutls/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/gnutls/default.nix b/pkgs/development/libraries/gnutls/default.nix index 964c0acb7c78c..da726e64dbb84 100644 --- a/pkgs/development/libraries/gnutls/default.nix +++ b/pkgs/development/libraries/gnutls/default.nix @@ -120,6 +120,8 @@ stdenv.mkDerivation rec { "--enable-ktls" ] ++ lib.optionals (stdenv.hostPlatform.isMinGW) [ "--disable-doc" + ] ++ lib.optionals (stdenv.hostPlatform.isLinux && tpmSupport) [ + "--with-trousers-lib=${trousers}/lib/libtspi.so" ]; enableParallelBuilding = true;