Skip to content

Commit

Permalink
lazyjj: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
bbigras committed Oct 6, 2024
1 parent ae58135 commit 2665dd9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pkgs/by-name/la/lazyjj/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
rustPlatform,
testers,
lazyjj,
fetchpatch,
}:
rustPlatform.buildRustPackage rec {
pname = "lazyjj";
Expand All @@ -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 ];
Expand Down

0 comments on commit 2665dd9

Please sign in to comment.