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
F2836293: D4928.diff
Sat, Sep 28, 3:54 PM
Unknown Object (File)
Fri, Sep 6, 5:27 AM
Unknown Object (File)
Aug 28 2024, 5:01 PM
Unknown Object (File)
Aug 27 2024, 1:50 PM
Unknown Object (File)
Aug 27 2024, 1:45 PM
Unknown Object (File)
Aug 27 2024, 12:01 PM
Unknown Object (File)
Aug 2 2024, 3:18 AM
Unknown Object (File)
Aug 2 2024, 3:18 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