bcachefs-tools: fix build with latest liburcu

This commit is contained in:
K900
2025-01-12 00:59:44 +03:00
parent cfe7d70bc2
commit 1e29a58efc
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
pkg-config,
libuuid,
libsodium,
@@ -37,6 +38,14 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-w55Fs1RZ4c55vTvb3jArPcmBLij1nuLi2MUHMMXPhng=";
};
patches = [
# backport patch to fix build with latest liburcu
(fetchpatch {
url = "https://github.com/koverstreet/bcachefs-tools/commit/634c812a1ed05de8e3d1dc146eed95b942e1e38d.patch";
hash = "sha256-AL+nflQHKIwzI35NXZG2rniNjUfgLmv3osHHdpB1cGs=";
})
];
nativeBuildInputs = [
pkg-config
cargo