add build environment files for nixpkgs
This commit is contained in:
parent
aa1b229b2d
commit
f3762ff598
4 changed files with 14 additions and 1 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -4,3 +4,6 @@
|
||||||
[submodule "modules/sdk"]
|
[submodule "modules/sdk"]
|
||||||
path = modules/sdk
|
path = modules/sdk
|
||||||
url = https://github.com/pfalcon/esp-open-sdk.git
|
url = https://github.com/pfalcon/esp-open-sdk.git
|
||||||
|
[submodule "modules/nix"]
|
||||||
|
path = modules/nix
|
||||||
|
url = https://github.com/busti/nixpkgs-esp-dev
|
||||||
|
|
|
@ -60,3 +60,11 @@ install `docker` on your platform and buil with
|
||||||
```bash
|
```bash
|
||||||
make firmware_docker -j$(nproc)
|
make firmware_docker -j$(nproc)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Build Steps (using nixos)
|
||||||
|
|
||||||
|
In the project root run:
|
||||||
|
```
|
||||||
|
nix-shell --option sandbox false
|
||||||
|
make firmware -j$(nproc)
|
||||||
|
```
|
||||||
|
|
1
modules/nix
Submodule
1
modules/nix
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 403461c810ddab0cf498b24df5b5ff92606e4154
|
1
shell.nix
Normal file
1
shell.nix
Normal file
|
@ -0,0 +1 @@
|
||||||
|
import ./modules/nix/shell-esp-open-rtos.nix {}
|
Loading…
Reference in a new issue