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
F3388622: D6532.id22127.diff
Fri, Nov 29, 3:14 PM
Unknown Object (File)
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)
Oct 29 2024, 8:43 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
Branch
jonringer/move-prompts-install
Lint
No Lint Coverage
Unit
No Test Coverage

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