Why isn't the convention in nixpkgs that `hash` is overridable too (along with version) so package overrides would actually be useful?

I hope the current interface isn’t the interface we stick with. buildRustPackage: use cargoHash from finalAttrs by Prince213 · Pull Request #472287 · NixOS/nixpkgs · GitHub seems exactly like what I wanted. If we are able to get it merged, documenting it would be a good next step. There are some discussions in the PR on what interface we want to stick with.

2 Likes