Skip to main content

Build Tools

Nix & Nix Flake

This contains a Nix Flake, which can be used to build and run poject components using the nix package manager. To install nix you can follow this guide. Additionally you'll need to enable support for Flakes using this guide. After a successfull nix install, you can build and run the project using nix build or run it with nix run. You can also build a minimal deterministic Docker image tarball using the image build target.

nix build .#image
docker load < result

Rustup and Cargo

Because this project is primarily Rust based, the installation of rustup (the Rust toolchain manager) and cargo (the Rust package manager) is required. You can do so by following this guide. You'll also need additional libraries like:

  • libpq-dev (Postgres client library)

After installing all requirements you can enter the trajectory-trace sub-directory and enter cargo build, to build the project in Debug mode. cargo run will build and run the project in one single command.

EFS Logo

© 2026 Trajectory Trace. All rights reserved.