Files
patriothacks/scripts
OmO Orchestrator 033db1bfd1 fix(run-local): default data dir to cwd, not the read-only nix store
'nix run' failed with ENOENT trying to mkdir inside the built package's
own Nix store path (.../the-commons-hollow-0.0.0/.data) - Nix store
paths are immutable by design, mkdir there can never succeed regardless
of permissions. The data directory must default to somewhere the
invoking user actually controls: process.cwd(), not the script's own
install location. Verified end to end through the real flake: 'nix
build' + 'nix run' from a separate writable directory now creates
.data there and serves real HTTP 200.
2026-11-20 23:28:39 -05:00
..