lazyjj: fix build (#346801)

This commit is contained in:
Bruno Bigras 2024-10-06 06:10:26 -04:00 committed by GitHub
parent 81b60beebf
commit 984999b3a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,6 +6,7 @@
rustPlatform,
testers,
lazyjj,
fetchpatch,
}:
rustPlatform.buildRustPackage rec {
pname = "lazyjj";
@ -25,6 +26,15 @@ rustPlatform.buildRustPackage rec {
--prefix PATH : ${lib.makeBinPath [ jujutsu ]}
'';
patches = [
# https://github.com/Cretezy/lazyjj/pull/61
(fetchpatch {
name = "adapt_test_traces_to_jj_0.22.0.patch";
url = "https://github.com/Cretezy/lazyjj/commit/d5e949fb0e62bc93969c27011963582e12bbe3f6.patch";
hash = "sha256-u+IMLW4iZxMmpa+dwggMfQ4E7ygc0T4I6lvzBcPJT3s=";
})
];
nativeBuildInputs = [ makeWrapper ];
nativeCheckInputs = [ jujutsu ];