HomePhabricator
Diffusion Comm e58a23478a57

[Direnv] Use nix-direnv if possible

Description

[Direnv] Use nix-direnv if possible

Summary:
nix-direnv has better amoritorized costs for initiating a shell.

Part of https://linear.app/comm/issue/ENG-2751

Test Plan:

Install direnv, script being added in later diff

direnv allow .
cd ..
cd comm
# might be slow on first execution

cd ..
cd comm
# all following executions of direnv should be relatively fast

Reviewers: atul, ashoat, varun

Reviewed By: atul, ashoat

Subscribers: tomek

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

Details

Provenance
jonAuthored on Jan 23 2023, 7:15 AM
Reviewer
atul
Differential Revision
D6311: [Direnv] Use nix-direnv if possible
Parents
rCOMM6e7cd78375b5: [Nix Docs] Ensure Xcode install comes before yarn cleaninstall
Branches
Unknown
Tags
Unknown