Skip to content

Commit

Permalink
overlays: pin treefmt to 2.0.5
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Meyer <[email protected]>
  • Loading branch information
katexochen committed Nov 29, 2024
1 parent f0c6240 commit 418086f
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions overlays/nixpkgs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,19 @@ final: prev:
--set SOURCE_DATE_EPOCH 0
'';
});

# There is a regression in 2.1.0, so pin to 2.0.5 for now.
# TODO(katexochen): In contact with upstream maintainers to resolve the issue.
treefmt2 = prev.treefmt2.overrideAttrs (
finalAttrs: _prevAttrs: {
version = "2.0.5";
src = final.fetchFromGitHub {
owner = "numtide";
repo = "treefmt";
rev = "v${finalAttrs.version}";
hash = "sha256-lDQbrq9AWH5Hjgy5AllbLLBUl/JkYGw68M5wob14kus=";
};
vendorHash = "sha256-OyOgTBwcRNd6kdnn3TFuq7xukeK0A1imK/WMer0tldk=";
}
);
}

0 comments on commit 418086f

Please sign in to comment.