mirror of
https://github.com/logos-messaging/logos-delivery.git
synced 2026-05-07 15:29:28 +00:00
Add -d:postgres and -d:nimDebugDlOpen to both the dynamic and static nim c invocations in nix/default.nix, matching the POSTGRES=1 flag already used in the Make-based build path.
Usage
Shell
A development shell can be started using:
nix develop
Building
To build a Codex you can use:
nix build '.?submodules=1#default'
The ?submodules=1 part should eventually not be necessary.
For more details see:
https://github.com/NixOS/nix/issues/4423
It can be also done without even cloning the repo:
nix build 'git+https://github.com/waku-org/nwaku?submodules=1#'
Running
nix run 'git+https://github.com/waku-org/nwaku?submodules=1#''
Testing
nix flake check ".?submodules=1#"