Use Nix flake to Build, Develop, & WIP: run integration test cluster #13
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The easiest way to do this seems to be to get all the binaries sorted from nix in a nix-shell instead of flake and have the shellHooks set up the binaries. I think it's possible to do with flake and
nix shell
and eventually with the VM but not quite yet.This change sets up a default package that runs the server with
nix build
andnix run
. It also sets up a dev environment for mac or linux withnix develop
The docker package is intended to run integration tests on a containerized lightning cluster. I think it makes sense to run integration tests out of a docker container because NixOS VMs don't run on MacOS yeta