diff options
author | Colin <colin@uninsane.org> | 2023-04-07 03:56:37 +0000 |
---|---|---|
committer | Colin <colin@uninsane.org> | 2023-04-07 03:56:37 +0000 |
commit | a08a67a563d1285fb306159a92bb33b2c4e8ce7f (patch) | |
tree | 8f7c46ca830bbd121d4b5237b827597723e0f3b3 /pkgs/tools/security/tpm2-abrmd | |
parent | 4e7d68aa63f809edcf589081d9a18693597b38b2 (diff) |
tpm2-abrmd: support cross compilation
the build process requires gdbus-codegen, achieved by adding `glib` to `nativeBuildInputs`
Diffstat (limited to 'pkgs/tools/security/tpm2-abrmd')
-rw-r--r-- | pkgs/tools/security/tpm2-abrmd/default.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/tools/security/tpm2-abrmd/default.nix b/pkgs/tools/security/tpm2-abrmd/default.nix index d9dd354aac82c..7183559987949 100644 --- a/pkgs/tools/security/tpm2-abrmd/default.nix +++ b/pkgs/tools/security/tpm2-abrmd/default.nix @@ -15,7 +15,14 @@ stdenv.mkDerivation rec { sha256 = "sha256-l0ncCMsStaeFACRU3Bt6F1zyiOTGY6wOHewA4AD58Ww="; }; - nativeBuildInputs = [ pkg-config makeWrapper autoreconfHook autoconf-archive which ]; + nativeBuildInputs = [ + autoconf-archive + autoreconfHook + glib + makeWrapper + pkg-config + which + ]; buildInputs = [ tpm2-tss glib dbus ]; nativeCheckInputs = [ cmocka ]; |