Merge pull request #120905 from stigtsp/bugfix/tpm2-tools-de-nest-wrappers

tpm2-tools: fix broken wrappers
This commit is contained in:
Sarah Brofeldt 2021-04-27 22:33:52 +02:00 committed by GitHub
commit 7859f8a9d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,10 +21,8 @@ stdenv.mkDerivation rec {
tpm2-tss
] ++ (lib.optional abrmdSupport tpm2-abrmd));
in ''
for bin in $out/bin/*; do
wrapProgram $bin \
--suffix LD_LIBRARY_PATH : "${ldLibraryPath}"
done
wrapProgram $out/bin/tpm2 --suffix LD_LIBRARY_PATH : "${ldLibraryPath}"
wrapProgram $out/bin/tss2 --suffix LD_LIBRARY_PATH : "${ldLibraryPath}"
'';