docs: document issue with direnv and nix-shell on macOS#15990
docs: document issue with direnv and nix-shell on macOS#15990EdwardAngert merged 1 commit intocoder:15990-contrib-nix-shellfrom
Conversation
Including the suggested -- and tested -- workaround and a link to the direnv issue.
|
All contributors have signed the CLA ✍️ ✅ |
|
I have read the CLA Document and I hereby sign the CLA |
| 🎉 | ||
| ``` | ||
|
|
||
| > **Note:** On macOS, a [direnv bug](https://github.com/direnv/direnv/issues/1345) can cause `nix-shell` to fail to build or run `coder`. If you see `error: creating directory` when attempting to run, build, or test, adding one line to your `.envrc` should fix the problem: |
There was a problem hiding this comment.
Honestly, I would create a subsection for Troubleshooting and mention this issue. Otherwise, there is a risk we'll end up with 10 notes referring different issues.
I'll defer the final decision to @EdwardAngert 👍
There was a problem hiding this comment.
Is there a trick (beyond commenting "recheck", which isn't doing it) to have the contrib / cla check redone?
There was a problem hiding this comment.
It might just be busted, @paulroub
I had this issue with some of my own PRs - some I was able to fix when I confirmed my git config user and email (pasting below, just in case), and some just still fail. We're working on figuring out why and fixing it, but it's not a required check for us to merge
git config --local user.name "myusername" && \
git config --local user.email "[email protected]"edit: scratch that - looks like you've been added in coder/cla@061cd21
|
I'm changing the base branch so that I can test some linting and add some edits on that branch |
d10d9b5
into
coder:15990-contrib-nix-shell
Including the suggested -- and tested -- workaround and a link to the direnv issue.