mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-02 06:16:08 -04:00
nix: allow dev setup via direnv
This commit is contained in:
parent
a23e838a01
commit
362d07fc52
4 changed files with 20 additions and 6 deletions
|
@ -15,13 +15,22 @@ Prerequisites:
|
|||
|
||||
### Linux
|
||||
|
||||
* If you don't want to perform any setup, you can get a shell with Bazel and all required dependencies by running:
|
||||
If you don't want to perform any setup, you can get a shell with Bazel and all required dependencies by running:
|
||||
|
||||
```sh
|
||||
# better would be: nix develop -i
|
||||
# but this doesn't play nice with bashrc, colored output and non-hermetic tools
|
||||
nix develop
|
||||
```
|
||||
```sh
|
||||
# better would be: nix develop -i
|
||||
# but this doesn't play nice with bashrc, colored output and non-hermetic tools
|
||||
nix develop
|
||||
```
|
||||
|
||||
Or activate [direnv](https://direnv.net/) to automatically enter the nix shell.
|
||||
It is recommended to use [nix-direnv](https://github.com/nix-community/nix-direnv).
|
||||
If your system ships outdated bash, [install direnv](https://direnv.net/docs/installation.html) via package manager.
|
||||
Additionally, you may want to add the [vscode extension](https://github.com/direnv/direnv-vscode).
|
||||
|
||||
```sh
|
||||
direnv allow
|
||||
```
|
||||
|
||||
### Mac
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue