Error with crane, overriding rust toolchain

Hey,

would anyone be able to help with Error when toolchain override: "Dependency is not of a valid type: element 2 of nativeBuildInputs for cargo-package-deps" · Issue #700 · ipetkov/crane · GitHub?

Im not fixed there at using this specific toolchain or rust-overlays - just need some way of updating the toolchain from the default in pkgs and to match it in the shell.

Oh, I’ve tried using fenix toolchain, same error - suggesting it’s something with overriding toolchain in general.

Thank you