Skip to content

Commit 56dfeb0

Browse files
committed
tools: fix timeout errors in lint-nix job
PR-URL: #62265 Fixes: #62219 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: René <contact.9a5d6388@renegade334.me.uk>
1 parent cb08a29 commit 56dfeb0

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tools/nix/pkgs.nix

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,14 @@ let
88
}) arg;
99
in
1010
nixpkgs
11+
// {
12+
nixfmt-tree = nixpkgs.nixfmt-tree.overrideAttrs (old: {
13+
patches = (old.patches or [ ]) ++ [
14+
(nixpkgs.fetchpatch2 {
15+
url = "https://github.com/numtide/treefmt/commit/b96016b4e38ffc76518087b3b0c9bbfa190d5225.patch?full_index=1";
16+
revert = true;
17+
hash = "sha256-DcxT2OGPX6Kmxhqa56DjZsSh2hoyhPyVmE17ULeryv8=";
18+
})
19+
];
20+
});
21+
}

0 commit comments

Comments
 (0)