Skip to content

Commit d85917e

Browse files
Add Nix dev environment backing the devcontainer
The devcontainer loads the project toolchain via direnv + `nix develop`, so it needs the flake the container provisions: - flake.nix: add k-framework, wabt, and gnumake to the devShell (the toolchain the project's Makefile and integration tests rely on), pin UV_LINK_MODE=copy. - flake.lock: pin all flake inputs for reproducible `nix develop`. - .envrc: `use flake` so direnv auto-loads the dev shell on entry. - .gitignore: ignore the .direnv/ cache the container creates. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 410b57d commit d85917e

4 files changed

Lines changed: 609 additions & 2 deletions

File tree

.envrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
use flake

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
/dist/
22
__pycache__/
33
.coverage
4+
.direnv/

0 commit comments

Comments
 (0)