Page MenuHomePhabricator

[Nix] Expose rustc to development shell
ClosedPublic

Authored by jon on Aug 18 2022, 9:14 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jun 11, 8:44 PM
Unknown Object (File)
May 26 2024, 3:19 AM
Unknown Object (File)
May 15 2024, 9:56 AM
Unknown Object (File)
Apr 21 2024, 3:18 PM
Unknown Object (File)
Apr 21 2024, 3:18 PM
Unknown Object (File)
Apr 21 2024, 3:18 PM
Unknown Object (File)
Apr 21 2024, 3:14 PM
Unknown Object (File)
Apr 12 2024, 9:37 AM
Subscribers

Details

Reviewers
ashoat
abosh
varun
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Commits
rCOMMc1b13c76ac12: [Nix] Expose rustc to development shell
Summary

Add rustc to PATH on nix develop shell.

This isn't necessary when invoking cargo, as nixpkgs' cargo uses a wrapper
script to force rustc on PATH before invoking the cargo command. However, this
can be useful if someone would like to invoke rustc directly within the shell.

https://linear.app/comm/issue/ENG-1667

Test Plan
nix develop
which rustc # points to nix store

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Owners added a reviewer: Restricted Owners Package.Aug 18 2022, 9:14 AM
Harbormaster returned this revision to the author for changes because remote builds failed.Aug 18 2022, 9:18 AM
Harbormaster failed remote builds in B11445: Diff 15742!
This revision is now accepted and ready to land.Aug 18 2022, 9:59 AM
This revision was automatically updated to reflect the committed changes.