If you have nix installed you'd just clone gossip down and run from the root directory
nix develop
and it'll install all the correct versions for rust, dependencies, other binaries to build gossip on whatever system you're running and put you into a nix dev shell using those correct binaries. (No "which system are you on, do you have the dependencies installed, etc)
In future this flake can be built off of to do more nix-y things and a bunch of other flakebox fanciness but all this PR does is the nix developer environment.
This is a simplified nix flake to create a reproducible dev environment across systems (including m2 macs) for gossip.
Uses flakebox for cross compilation but suppresses the flakebox inits for adding any of the workflows, formatting, and git fanciness.
If you've never used nix, the best installer is determinate systems (comes with flakes, commands, and better mac support):
or the normal nix installer at https://nixos.org/download/ (enable flakes and commands in the config)
If you have nix installed you'd just clone gossip down and run from the root directory
and it'll install all the correct versions for rust, dependencies, other binaries to build gossip on whatever system you're running and put you into a nix dev shell using those correct binaries. (No "which system are you on, do you have the dependencies installed, etc)
In future this flake can be built off of to do more nix-y things and a bunch of other flakebox fanciness but all this PR does is the nix developer environment.