itm
itm copied to clipboard
Cargo.lock not up to date in 0.3.1 release commit
I think that the Cargo.lock
file that's published with the 0.3.1 release commit is out of date as I'm running into problems packaging this tool at that version for nixpkgs
:
- https://github.com/NixOS/nixpkgs/pull/143750#discussion_r741488693
I've resorted to applying a patch to the repo when the source is fetched from GitHub for compilation, but it would be cleaner to be able to build from a release with an up-to-date Cargo.lock
file.
For context, I'm just trying to package this tool so that I (and others) can go through the Discovery book on NixOS without having to do anything more than installing the package via the system package manager. Nix has certain assumptions around how packages should build, one of them being that build processes shouldn't update lock files during a build, which is why I'm running into this issue originally (I'm fairly certain).
Thanks for making this tool and the Discovery book available :)
related issues https://github.com/rust-embedded/svd2rust/issues/399 https://github.com/rust-embedded/cargo-binutils/pull/103