Getǣl — Read-only macOS home directory disk usage cartography & APFS telemetry service

Add Nix flake for reproducible builds and dev shell #20

Merged zip.mu.social
targeting dev from feat/nix-flake
Merged opened by zip.mu.social
targeting dev from feat/nix-flake

Resolves #12.

Summary #

  • Added flake.nix and flake.lock supporting aarch64-darwin, x86_64-darwin, x86_64-linux, and aarch64-linux.
  • Builds the embedded web/ SPA reproducibly via pkgs.buildNpmPackage and embeds it into pkgs.rustPlatform.buildRustPackage with GETAEL_SKIP_WEB_BUILD=1.
  • Exposes packages.<system>.default (getael), apps.<system>.default (nix run), and devShells.<system>.default (cargo, rustc, rustfmt, clippy, nodejs, sqlite, pkg-config).
  • Documented nix run, nix profile install, and nix develop in README.md.

Verification #

  • nix build succeeded on aarch64-darwin
  • nix flake check passed (all checks passed!)
  • nix run . -- --help launched getael cleanly
Commits 1

Add Nix flake for reproducible builds, nix run, and devShell
Sign up or Sign in to add to the discussion.