[Nix] Fix corrosion logic when rustc is on PATH
Summary:
Having rustc on PATH makes corrosion assume
that it will be able to find cargo at the same
directory. This isn't true for nix.
The fix has been upstreamed to corrosion in
https://github.com/corrosion-rs/corrosion/pull/192
but there hasn't been a release since then.
Apply patch until a new release has been cut.
Depends on D4872
Test Plan:
nix develop cd services/tunnelbroker rm -rf build && mkdir -p build && cd build && cmake .. && make -j
Reviewers: max, atul, O1 Nix, varun, abosh
Reviewed By: O1 Nix, varun
Subscribers: ashoat, tomek, abosh
Differential Revision: https://phab.comm.dev/D4928