mirror of
https://github.com/clockworklabs/SpacetimeDB.git
synced 2026-05-06 07:26:43 -04:00
ab3554576b
# Description of Changes Recently, my hacked-together env stopped working, probably due to our switching linkers. This pushed me to write a proper Nix packaging for SpacetimeDB, complete with flake and development environment. Some things I haven't been able to figure out (or in some cases, just haven't bothered with): - Unreal. - C# WASI SDK. - Exposing Git commit hash for `spacetime --version`. - Making the Rust SDK's reauth test work. This test tries to write a file in the home directory, which is inaccessible in the Nix sandbox. # API and ABI breaking changes It's a new thing we have to maintain if we're exposing it to users, but I need to maintain it anyways to be able to develop Spacetime, so... # Expected complexity level and risk 1 # Testing - [x] Ran `nix flake check` locally. - [x] Ran `nix build` locally and then did `spacetime start`, got an apparently-responsive SpacetimeDB. - [x] Ran `nix develop` locally, then `cargo build` and `cargo test` in the dev shell. --------- Co-authored-by: Jeffrey Dallatezza <jeffreydallatezza@gmail.com>
3 lines
109 B
Bash
3 lines
109 B
Bash
# Directory environment using https://direnv.net/ and https://github.com/nix-community/nix-direnv.
|
|
use flake
|