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
F3370383: D6532.diff
Tue, Nov 26, 2:23 AM
Unknown Object (File)
Sun, Nov 3, 1:18 PM
Unknown Object (File)
Fri, Nov 1, 9:57 AM
Unknown Object (File)
Fri, Nov 1, 9:56 AM
Unknown Object (File)
Fri, Nov 1, 9:56 AM
Unknown Object (File)
Fri, Nov 1, 9:41 AM
Unknown Object (File)
Tue, Oct 29, 8:43 AM
Unknown Object (File)
Tue, Oct 29, 6:24 AM
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