Is your feature request related to a problem? Please describe.
I'm trying to build a Rust project manually with cargo b, but it requires the MinGW pthreads fix, which is provided by mkCrossToolchainEnv.
Describe the solution you'd like
Add them by default, like in mkCargoDerivation.
Describe alternatives you've considered
Manually use mkCrossToolchainEnv and take the wanted environment variables? I can't figure out a way to get the configureCargoCommonVars hook to run in devshell