Commit a08a67a5 authored by Colin's avatar Colin
Browse files

tpm2-abrmd: support cross compilation

the build process requires gdbus-codegen, achieved by adding `glib` to `nativeBuildInputs`
parent 4e7d68aa
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -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 ];