HomePhabricator
Diffusion Comm c1b13c76ac12

[Nix] Expose rustc to development shell

Description

[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

Reviewers: ashoat, abosh, varun, O1 Nix

Reviewed By: ashoat, abosh, varun, O1 Nix

Subscribers: tomek, atul

Differential Revision: https://phab.comm.dev/D4872

Details

Provenance
jonAuthored on Aug 18 2022, 9:09 AM
Reviewer
Restricted Owners Package
Differential Revision
D4872: [Nix] Expose rustc to development shell
Parents
rCOMMc6c9dcc2d287: [web] Set `stroke: none` for `CommIcon` SVGs
Branches
Unknown
Tags
Unknown