Page MenuHomePhabricator

[Nix] Only prompt for direnv usage on install
ClosedPublic

Authored by jon on Feb 2 2023, 9:59 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Mar 23, 1:36 PM
Unknown Object (File)
Feb 23 2025, 1:15 AM
Unknown Object (File)
Feb 20 2025, 10:34 AM
Unknown Object (File)
Feb 16 2025, 7:54 AM
Unknown Object (File)
Feb 16 2025, 7:54 AM
Unknown Object (File)
Feb 16 2025, 7:54 AM
Unknown Object (File)
Feb 16 2025, 7:48 AM
Unknown Object (File)
Jan 13 2025, 11:47 PM
Subscribers

Details

Reviewers
ashoat
varun
atul
bartek
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Commits
rCOMMaa565352bba0: [Nix] Only prompt for direnv usage on install
Summary

It's actually quite hard to determine if a shell is interactive
between difference shells and environments.

Move the prompt to use direnv to the install_nix.sh script to condense
all possible prompt interactions into a single script.

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

Test Plan
rm -rf ~/Library/Caches/app.comm/install-direnv
brew uninstall direnv

./scripts/install_nix.sh

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Owners added a reviewer: Restricted Owners Package.Feb 2 2023, 9:59 AM

Mostly rubberstamping as I'm not very familiar with this code

This revision is now accepted and ready to land.Feb 2 2023, 1:07 PM