Skip to content

Commit ed5c3f9

Browse files
committed
heaptrack: add patch for GCC 14
1 parent 4fc4c42 commit ed5c3f9

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

pkgs/development/tools/profiling/heaptrack/default.nix

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
lib, stdenv, mkDerivation, fetchFromGitHub, cmake, extra-cmake-modules, makeBinaryWrapper,
2+
lib, stdenv, mkDerivation, fetchFromGitHub, fetchpatch, cmake, extra-cmake-modules, makeBinaryWrapper,
33
zlib, boost179, libunwind, elfutils, sparsehash, zstd,
44
qtbase, kio, kitemmodels, threadweaver, kconfigwidgets, kcoreaddons, kdiagram
55
}:
@@ -15,6 +15,14 @@ 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 = [
2028
zlib boost179 libunwind sparsehash zstd

0 commit comments

Comments
 (0)