Merge pull request #245675 from baloo/baloo/tpm2-tools/fixup-wrapper

tpm2-tools: rework argv0 parsing

authored by Pierre Bourdon and committed by GitHub 205b4117 c3462e2d

+9 -1
+9 -1
pkgs/tools/security/tpm2-tools/default.nix
··· 1 - { stdenv, fetchurl, lib 1 + { stdenv, fetchurl, lib, fetchpatch 2 2 , pandoc, pkg-config, makeWrapper, curl, openssl, tpm2-tss, libuuid 3 3 , abrmdSupport ? true, tpm2-abrmd ? null }: 4 4 ··· 10 10 url = "https://github.com/tpm2-software/${pname}/releases/download/${version}/${pname}-${version}.tar.gz"; 11 11 sha256 = "sha256-H9tJxzBTe/2u0IiISIGmHjv9Eh6VfsC9zu7AJhI2wSM="; 12 12 }; 13 + 14 + patches = [ 15 + # https://github.com/tpm2-software/tpm2-tools/pull/3271 16 + (fetchpatch { 17 + url = "https://github.com/tpm2-software/tpm2-tools/commit/b98be08f6f88b0cca9e0667760c4e1e5eb417fbd.patch"; 18 + sha256 = "sha256-2sEam9i4gwscJhLwraX2EAjVM8Dh1vmNnG3zYsOF0fc="; 19 + }) 20 + ]; 13 21 14 22 nativeBuildInputs = [ pandoc pkg-config makeWrapper ]; 15 23 buildInputs = [