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)
Wed, May 1, 11:14 PM
Unknown Object (File)
Mon, Apr 15, 1:05 AM
Unknown Object (File)
Mon, Apr 15, 1:05 AM
Unknown Object (File)
Mon, Apr 15, 1:05 AM
Unknown Object (File)
Mon, Apr 15, 1:02 AM
Unknown Object (File)
Feb 22 2024, 12:37 PM
Unknown Object (File)
Feb 22 2024, 12:25 PM
Unknown Object (File)
Feb 22 2024, 10:02 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