Skip to content

Commit

Permalink
Merge pull request #245675 from baloo/baloo/tpm2-tools/fixup-wrapper
Browse files Browse the repository at this point in the history
tpm2-tools: rework argv0 parsing
  • Loading branch information
delroth authored Jul 28, 2023
2 parents c3462e2 + b768222 commit 205b411
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion pkgs/tools/security/tpm2-tools/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, lib
{ stdenv, fetchurl, lib, fetchpatch
, pandoc, pkg-config, makeWrapper, curl, openssl, tpm2-tss, libuuid
, abrmdSupport ? true, tpm2-abrmd ? null }:

Expand All @@ -11,6 +11,14 @@ stdenv.mkDerivation rec {
sha256 = "sha256-H9tJxzBTe/2u0IiISIGmHjv9Eh6VfsC9zu7AJhI2wSM=";
};

patches = [
# https://github.com/tpm2-software/tpm2-tools/pull/3271
(fetchpatch {
url = "https://github.com/tpm2-software/tpm2-tools/commit/b98be08f6f88b0cca9e0667760c4e1e5eb417fbd.patch";
sha256 = "sha256-2sEam9i4gwscJhLwraX2EAjVM8Dh1vmNnG3zYsOF0fc=";
})
];

nativeBuildInputs = [ pandoc pkg-config makeWrapper ];
buildInputs = [
curl openssl tpm2-tss libuuid
Expand Down

0 comments on commit 205b411

Please sign in to comment.