···5555 inherit owner;
5656 repo = pname;
5757 rev = "v${version}";
5858- sha256 = "sha256-mNpZj8c+IHcW0StFzRPt7wcysADh01eLFcIK6fX/2KQ=";
5959- leaveDotGit = true;
5858+ sha256 = "sha256-fZrYmsulKOvgW/WtsYL7r4Cby+m9ShgXozxj1ZQ5ZAY=";
6059 };
61606261 # Upstream doesn't include the lockfile so we need to add it back
···7574 git
7675 ];
77767777+ # `cargo-llvm-cov` tests rely on `git ls-files.
7878 preCheck = ''
7979- # `cargo-llvm-cov`'s tests rely on `git ls-files` so the staging area needs
8080- # to not have everything staged as deleted, which is how `leaveDotGit` in
8181- # `fetchFromGitHub` leaves the staging area for reproducibility reasons.
8282- git restore --staged .
7979+ git init -b main
8080+ git add .
8381 '';
84828583 meta = {