target / lorri

Your project's nix-env
Apache License 2.0
992 stars 69 forks source link

doc(README): add FAQ entry for whether to check in .envrc #478

Closed Profpatsch closed 4 years ago

Profpatsch commented 4 years ago

This is a frequently asked question, and we have an answer.

cc @MMesch who last asked the question.

nyarly commented 4 years ago

FTR I don't like this answer. The fact that Lorri has an .envrc checked in is an ongoing friction for me, because I use direnv for more than Lorri does. e.g. I use it to open or connect to a Tmux session automatically when I enter a project; my Lorri workspace behaves differently from every other project I work on as a result.

At a barest minimum, I'd think that the etiquette here is to have the project .envrc source something like .envrc-local so that each dev can use direnv as their used to.

Profpatsch commented 4 years ago

At a barest minimum, I'd think that the etiquette here is to have the project .envrc source something like .envrc-local so that each dev can use direnv as their used to.

Good suggestion, I added a commit that adds that.