@jacg in case you never resolved this, just remembered what it is: overrideAttrs works on stdenv.mkDerivation’s attribues, but not on buildRustPackage.
The key is to override cargoDeps instead of cargoHash. This answer (and the whole thread clarifies the problem).