Skip to content

feat: add Nix flake for reproducible dev environment (#54)#67

Merged
avrabe merged 1 commit intomainfrom
feat/nix-flake
Mar 28, 2026
Merged

feat: add Nix flake for reproducible dev environment (#54)#67
avrabe merged 1 commit intomainfrom
feat/nix-flake

Conversation

@avrabe
Copy link
Copy Markdown
Contributor

@avrabe avrabe commented Mar 28, 2026

Summary

Adds flake.nix providing a reproducible development shell with all LOOM dependencies:

  • Rust stable + wasm32-wasip2 target (via fenix)
  • Z3 with env vars auto-configured for --features verification
  • wasmtime, binaryen (wasm-opt), rust-analyzer
  • macOS-conditional deps (libiconv, Security, SystemConfiguration)

Usage: nix develop or nix develop --command cargo build --release

Note: flake.lock will be generated on first nix flake lock — not committed here since it requires network access.

Closes #54

Test plan

  • nix flake check
  • nix develop --command cargo build --release
  • CI (no Nix in CI yet — this is for local dev)

🤖 Generated with Claude Code

Provides devShell with: Rust 1.93.1 stable + wasm32-wasip2 target
(via rust-overlay, matching org convention from meld/synth/sigil),
Z3 (with Z3_SYS_Z3_HEADER auto-set), wasmtime, binaryen.

Usage: nix develop

Closes #54

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@avrabe avrabe merged commit 6bbb763 into main Mar 28, 2026
21 checks passed
@avrabe avrabe deleted the feat/nix-flake branch March 28, 2026 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Nix flake for reproducible development and build environment

1 participant