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)
Fri, Jun 14, 3:11 AM
Unknown Object (File)
Wed, Jun 12, 2:12 PM
Unknown Object (File)
Tue, Jun 11, 10:47 AM
Unknown Object (File)
Tue, Jun 4, 2:10 PM
Unknown Object (File)
Tue, Jun 4, 1:54 AM
Unknown Object (File)
May 26 2024, 5:41 AM
Unknown Object (File)
May 15 2024, 9:56 AM
Unknown Object (File)
Apr 21 2024, 3:18 PM

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
Lint Not Applicable
Unit
Tests Not Applicable

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