Commit 095d992
build: build the io-mon shim with a writable nimcache (read-only source)
The package build and dev shell consume io-mon as a Nix flake input (a
read-only store path), but io-mon's build_shim.sh wrote its nimcache to a
path relative to its own source tree, so `mkdir build`/the nim cache write
failed with "Permission denied" / "Read-only file system" — breaking
`nix build .#default`, the `repro` bootstrap, and `just test`.
Pass IO_MON_SHIM_NIMCACHE_DIR (new, absolute, under reprobuild's writable
build/) alongside the existing IO_MON_SHIM_OUT_DIR so the shim writes
nothing into io-mon's source; bump io-mon-src to the release carrying that
knob. Verified: `nix build .#default` now builds the shim (SuccessX) and
proceeds to compile with no build-dir error.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent d5e9c02 commit 095d992
2 files changed
Lines changed: 8 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
47 | 51 | | |
| 52 | + | |
48 | 53 | | |
49 | 54 | | |
50 | 55 | | |
| |||
0 commit comments