Skip to content

docs: document issue with direnv and nix-shell on macOS (#15990) #16015

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jan 2, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
make fmt
  • Loading branch information
EdwardAngert committed Jan 2, 2025
commit ef24953c896865e0fb93cd819fdf4ff9ee2912b5
6 changes: 5 additions & 1 deletion docs/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,11 @@ direnv: export +AR +AS +CC +CONFIG_SHELL +CXX +HOST_PATH +IN_NIX_SHELL +LD +NIX_
🎉
```

> **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:
> **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:

```shell
use nix
Expand Down
Loading