add build environment files for nixpkgs
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing

This commit is contained in:
busti 2021-07-07 21:41:20 +02:00
parent aa1b229b2d
commit f3762ff598
4 changed files with 14 additions and 1 deletions

3
.gitmodules vendored
View file

@ -4,3 +4,6 @@
[submodule "modules/sdk"]
path = modules/sdk
url = https://github.com/pfalcon/esp-open-sdk.git
[submodule "modules/nix"]
path = modules/nix
url = https://github.com/busti/nixpkgs-esp-dev

View file

@ -59,4 +59,12 @@ install `docker` on your platform and buil with
```bash
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

@ -0,0 +1 @@
Subproject commit 403461c810ddab0cf498b24df5b5ff92606e4154

1
shell.nix Normal file
View file

@ -0,0 +1 @@
import ./modules/nix/shell-esp-open-rtos.nix {}