HomePhabricator
Diffusion Comm b854a1697b98

[Nix] Use vanilla direnv

Description

[Nix] Use vanilla direnv

Summary:
Sourcing nix_direnv seems to cause some potential
issues on machines with older versions of bash. Instead, use
a script which has some fallback behavior to determine the
desired action.

This also preserves the parent shell (e.g. zsh, fish, or bash)

Test Plan:
Tested on intel mac, using zsh and bash.

  • Install direnv, e.g. brew install direnv
  • Then run
# from parent directory
cd <comm root>

Reviewers: atul, ashoat, varun

Reviewed By: atul, ashoat

Subscribers: tomek

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

Details

Provenance
jonAuthored on Jan 17 2023, 7:03 AM
Reviewer
atul
Differential Revision
D6236: [Nix] Use vanilla direnv
Parents
rCOMM70e41be68bb0: [landing][web] Update to ethers@5.7.2
Branches
Unknown
Tags
Unknown