chore: load snix shell using direnv
Change-Id: I6edd4aff7b46d8f3f75462d1576b3f4ffd7f16b8 Reviewed-on: https://cl.snix.dev/c/snix/+/30304 Reviewed-by: Florian Klink <flokli@flokli.de> Tested-by: besadii
This commit is contained in:
parent
2ed36b49b5
commit
5b81892ddf
2 changed files with 5 additions and 1 deletions
5
.envrc
5
.envrc
|
|
@ -20,3 +20,8 @@ PATH_add "$out/bin"
|
||||||
|
|
||||||
watch_file tools/depot-deps.nix
|
watch_file tools/depot-deps.nix
|
||||||
watch_file third_party/sources/sources.json
|
watch_file third_party/sources/sources.json
|
||||||
|
watch_file snix/shell.nix
|
||||||
|
|
||||||
|
# Activate snix development shell
|
||||||
|
# FUTUREWORK: merge together (#65)
|
||||||
|
use nix -A snix.shell
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,6 @@ $ git clone https://git.snix.dev/snix/snix.git
|
||||||
### Interactive development
|
### Interactive development
|
||||||
```console
|
```console
|
||||||
$ direnv allow
|
$ direnv allow
|
||||||
$ mg shell //snix:shell
|
|
||||||
```
|
```
|
||||||
|
|
||||||
This provides all the necessary tools and dependencies to interactively build
|
This provides all the necessary tools and dependencies to interactively build
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue