mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
Merge pull request #245675 from baloo/baloo/tpm2-tools/fixup-wrapper
tpm2-tools: rework argv0 parsing
This commit is contained in:
commit
205b4117a5
@ -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 }:
|
||||
|
||||
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user