crate2nix icon indicating copy to clipboard operation
crate2nix copied to clipboard

Fix IFD git dependency package ID format discrepancy with recent cargo versions

Open landaudiogo opened this issue 4 months ago • 2 comments

As described in PR and PR, crate2nix assumes a package ID format that is only compatible with older versions of cargo.

This PR changes tools.nix to write the package ids to crate-hashes.json in the same format as the version of cargo available to crate2nix fixing the observed discrepancy. I have created a repository which motivates the problem, and shows how the proposed fix solves it.

landaudiogo avatar Aug 06 '25 14:08 landaudiogo

Looks like CI is saying you need to format your changes.

domenkozar avatar Aug 21 '25 20:08 domenkozar

Thanks! Just added the commit that formats the PR

landaudiogo avatar Aug 22 '25 05:08 landaudiogo