Skip to content

Commit d10d9b5

Browse files
authored
docs: document issue with direnv and nix-shell on macOS (#15990)
workaround and a link to the direnv issue.
1 parent 8207094 commit d10d9b5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/CONTRIBUTING.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,13 @@ direnv: export +AR +AS +CC +CONFIG_SHELL +CXX +HOST_PATH +IN_NIX_SHELL +LD +NIX_
4646
🎉
4747
```
4848

49+
> **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:
50+
51+
```shell
52+
use nix
53+
mkdir -p "$TMPDIR"
54+
```
55+
4956
Alternatively if you do not want to use nix then you'll need to install the need
5057
the following tools by hand:
5158

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy