11{
2- lib , stdenv , mkDerivation , fetchFromGitHub , cmake , extra-cmake-modules , makeBinaryWrapper ,
3- zlib , boost179 , libunwind , elfutils , sparsehash , zstd ,
2+ lib , stdenv , mkDerivation , fetchFromGitHub , fetchpatch , cmake , extra-cmake-modules , makeBinaryWrapper ,
3+ zlib , boost , libunwind , elfutils , sparsehash , zstd ,
44 qtbase , kio , kitemmodels , threadweaver , kconfigwidgets , kcoreaddons , kdiagram
55} :
66
@@ -15,9 +15,17 @@ mkDerivation rec {
1515 hash = "sha256-pP+s60ERnmOctYTe/vezCg0VYzziApNY0QaF3aTccZU=" ;
1616 } ;
1717
18+ patches = [
19+ # cmake: Fix C compatibility of libunwind probes
20+ ( fetchpatch {
21+ url = "https://invent.kde.org/sdk/heaptrack/-/commit/c6c45f3455a652c38aefa402aece5dafa492e8ab.patch" ;
22+ hash = "sha256-eou53UUQX+S7yrz2RS95GwkAnNIZY/aaze0eAdjnbPU=" ;
23+ } )
24+ ] ;
25+
1826 nativeBuildInputs = [ cmake extra-cmake-modules makeBinaryWrapper ] ;
1927 buildInputs = [
20- zlib boost179 libunwind sparsehash zstd
28+ zlib boost libunwind sparsehash zstd
2129 qtbase kio kitemmodels threadweaver kconfigwidgets kcoreaddons kdiagram
2230 ] ++ lib . optionals stdenv . hostPlatform . isLinux [
2331 elfutils
0 commit comments