treewide: leverage direnv to automatically enter developer shell
Leverage direnv [1] to automatically enter the developer shell upon entering the project directory after running 'direnv allow'. [1]: https://direnv.net Link: https://github.com/danth/stylix/pull/519
This commit is contained in:
parent
703f49aaca
commit
6ef37ca6aa
3 changed files with 9 additions and 0 deletions
1
.envrc
Normal file
1
.envrc
Normal file
|
|
@ -0,0 +1 @@
|
|||
use flake
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,2 +1,3 @@
|
|||
/.direnv/
|
||||
result
|
||||
result-*
|
||||
|
|
|
|||
|
|
@ -5,3 +5,10 @@ To enter the developer shell, run:
|
|||
```console
|
||||
nix develop
|
||||
```
|
||||
|
||||
To automatically enter the developer shell upon entering the project directory
|
||||
with [`direnv`](https://direnv.net), run:
|
||||
|
||||
```console
|
||||
direnv allow
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue