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
F4085997: D6532.id21869.diff
Sun, Feb 16, 7:54 AM
F4085996: D6532.id22127.diff
Sun, Feb 16, 7:54 AM
F4085970: D6532.id.diff
Sun, Feb 16, 7:54 AM
F4085947: D6532.diff
Sun, Feb 16, 7:48 AM
Unknown Object (File)
Jan 13 2025, 11:47 PM
Unknown Object (File)
Jan 2 2025, 12:25 AM
Unknown Object (File)
Dec 31 2024, 8:31 PM
Unknown Object (File)
Dec 31 2024, 8:31 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