go-waku/ci
Jakub Sokołowski 349e22bbe8
nix: add Nix flake to build node and library
This way we can build node or the library locally using:
```sh
nix build
nix build .#node
nix build .#library
```
Or just start a shell with Go `1.19.x` using:
```
nix develop
```
Which simply has the same environment as the build shell for the node.

One known snag is that there is currently no simple way to keep `vendorSha256`
updated to match the contents of `go.mod` and `go.sum`. For more details see:
https://discourse.nixos.org/t/how-should-i-build-a-go-package-from-local-source/19490/8

One way around this would be to have our own `vendor` folder, but that's
also a pretty ugly solution that requires manual updating.

Resolves:
https://github.com/waku-org/go-waku/issues/256

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-03-05 15:04:07 +01:00
..
Jenkinsfile chore: setup linux ci for .deb 2022-12-06 15:48:48 -04:00
Jenkinsfile.android chore: rename status-im/go-waku to waku-org/go-waku 2022-11-09 16:03:40 -04:00
Jenkinsfile.docker ci: separate discord notification into a function 2022-10-19 09:50:27 +02:00
Jenkinsfile.ios chore: rename status-im/go-waku to waku-org/go-waku 2022-11-09 16:03:40 -04:00
Jenkinsfile.linux chore: setup linux ci for .deb 2022-12-06 15:48:48 -04:00
Jenkinsfile.nix-flake nix: add Nix flake to build node and library 2023-03-05 15:04:07 +01:00
Jenkinsfile.tests fix: jenkinscript (#304) 2022-09-12 10:13:38 -04:00