An easy-to-host PDS on the ATProtocol, iPhone and MacOS. Maintain control of your keys and data, always.
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat(MM-64): add Nix flake + devenv development shell #6

open opened by malpercio.dev targeting main from MM-64

Summary#

  • Adds flake.nix, devenv.nix, rust-toolchain.toml, and .envrc to provide a reproducible Nix-based dev shell via devenv
  • Pins the Rust stable toolchain with rustfmt, clippy, and rust-analyzer; includes just, cargo-audit, sqlite, and pkg-config as shell packages
  • Generates and commits flake.lock after verifying all 14 automatable acceptance criteria pass on macOS (aarch64-darwin)

Notes#

nix develop requires --impure --accept-flake-config due to devenv's need to read $PWD at evaluation time. The rust-overlay input was added as an explicit flake input (devenv's languages.rust module requires it directly when using toolchainFile).

Test Plan#

  • nix develop --impure --accept-flake-config activates shell on macOS
  • rustc --version → stable (1.94.0), cargo, rust-analyzer, clippy, rustfmt, just, cargo-audit, sqlite3, pkg-config --libs sqlite3 all verified
  • flake.lock committed and tracked by git
  • flake.nix has no packages or nixosModules outputs
  • Linux (x86_64-linux) verification — needs CI or contributor on Linux
  • rustup show reads rust-toolchain.toml without Nix
  • direnv allow activates shell automatically on cd

Full human test plan: docs/test-plans/2026-03-07-MM-64.md

Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:web:malpercio.dev/sh.tangled.repo.pull/3mgjf5myesb22
Diff #0

No differences found between the selected revisions.

History

1 round 0 comments
sign up or login to add to the discussion
malpercio.dev submitted #0
patch application failed: error: No valid patches in input (allow with "--allow-empty")
expand 0 comments