mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 12:45:27 +03:00
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
This commit is contained in:
parent
8985b6e37b
commit
e3c24c24fe
1 changed files with 2 additions and 0 deletions
|
@ -137,6 +137,8 @@ stdenv.mkDerivation rec {
|
||||||
# uchar.h required
|
# uchar.h required
|
||||||
"--disable-fapi"
|
"--disable-fapi"
|
||||||
"--disable-policy"
|
"--disable-policy"
|
||||||
|
# uses fallocate
|
||||||
|
"--disable-tcti-libtpms"
|
||||||
];
|
];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue