Add experimental nix support
Draft
AJ
3y ago+37+37+01234567890123456789-0-0-0123456789
As discussed in the discord, this PR adds experimental Nix support via a default.nix file and a small note in the README. While this is great and all, it still leaves many unanswered questions:
- Should we be building from source instead? (Currently unfeasible for multiple reasons, but good long term)
- How should we handle updating versions?
- Should we just use the latest version at all times?
- Should use/update check-sums?
As mentioned in the discord by @Jarred-SumnerThere have been a couple cases where I had to re-upload the version after some build issue
so it might make sense to forgo the checksum for now - Should we dynamically update the
default.zigfile upon each new release with theMakefile?
- Should we provide more detailed instructions on how to install with Nix?
- When is the right time to submit to nixpkgs?
- How should we handle configuring Bun's cache directory?
and the list goes on.
There are definitely a few things that should be fixed here, this is a decent starting point to build upon.