hotspot: Fix Rust demangling support

Hotspot supports demangling Rust symbols using rustc-demangle. This
library is loaded at run-time since version 1.4.0. Tell the wrapper to
make it available, so that the demangling actually works.
This commit is contained in:
Alois Wohlschlager 2023-03-10 14:45:21 +01:00
parent f991762ea1
commit 80cd61dd41
No known key found for this signature in database
GPG key ID: E0F59EA5E5216914

View file

@ -62,6 +62,10 @@ mkDerivation rec {
mkdir -p 3rdparty/{perfparser,PrefixTickLabels}/.git
'';
qtWrapperArgs = [
"--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ rustc-demangle ]}"
];
meta = with lib; {
description = "A GUI for Linux perf";
longDescription = ''