Page MenuHomePhabricator

[Nix] Fix corrosion logic when rustc is on PATH
ClosedPublic

Authored by jon on Aug 23 2022, 12:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 7, 1:28 AM
Unknown Object (File)
Tue, Nov 5, 2:06 AM
Unknown Object (File)
Oct 13 2024, 5:31 AM
Unknown Object (File)
Oct 12 2024, 2:50 PM
Unknown Object (File)
Oct 6 2024, 9:14 AM
Unknown Object (File)
Oct 6 2024, 9:14 AM
Unknown Object (File)
Oct 6 2024, 9:14 AM
Unknown Object (File)
Oct 6 2024, 9:13 AM

Details

Reviewers
max
atul
varun
abosh
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Commits
rCOMM44de57ee0398: [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

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

Owners added a reviewer: Restricted Owners Package.Aug 23 2022, 12:39 PM

Added @varun to nix package owners so @abosh isn't a single bus factor

jon added 1 blocking reviewer(s): varun.

sorry varun for re-ping but the owners logic needs you to be a owner before you accept the revision for it to count :(

This revision is now accepted and ready to land.Aug 23 2022, 2:15 PM