Yes, with rust things are different because the cargo vendor dir is built differently. .overrideAttrs doesn’t work ootb.
You have to separately override the source for the cargo vendor dir. See this thread: Is it possible to override cargoSha256 in buildRustPackage?