tpm2-tss: fix version detection

without this, the version field in the .pc files is empty
leading to tpm2-abrmd failing to build
This commit is contained in:
ajs124 2022-04-17 18:46:29 +01:00
parent 9a724bde60
commit 779cca1bd1

View file

@ -59,6 +59,8 @@ stdenv.mkDerivation rec {
--replace '@PREFIX@' $out/lib/
substituteInPlace ./test/unit/tctildr-dl.c \
--replace '@PREFIX@' $out/lib
substituteInPlace ./configure.ac \
--replace 'm4_esyscmd_s([git describe --tags --always --dirty])' '${version}'
'';
configureFlags = lib.optionals (stdenv.buildPlatform == stdenv.hostPlatform) [