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;