Commit e3c24c24 authored by Fiona Behrens's avatar Fiona Behrens
Browse files

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
parent 8985b6e3
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -137,6 +137,8 @@ stdenv.mkDerivation rec {
      # uchar.h required
      "--disable-fapi"
      "--disable-policy"
      # uses fallocate
      "--disable-tcti-libtpms"
    ];

  postInstall = ''