How to add a command prefix?

What happened?

I am in need to run cargo over a command prefix, this being nixGL cargo, when using the rust extension.