By: Michael Lynch <git@mtlynch.io>
Isolate Go build cache in the dev shell The dev shell already gives each project a dedicated GOPATH, but it still used the default Go build cache. If another Go version populated that cache, `nix develop --command ./dev-scripts/serve` could fail with errors like: compile: version "go1.26.1" does not match go tool version "go1.25.5" Set GOCACHE under the project-specific GOPATH and include the active Go version in the path so development builds do not reuse stale package artifacts from other projects or Go versions. Testing: - nix develop --command ./dev-scripts/serve - dev-scripts/git-hooks/pre-commit - nix flake check
| Time to Start | Worker time | Duration | Time to finish | |
| Config | 1s | 3s | 3s | 5s |
| Eval | 5s | 37s | 37s | 42s |
| Build | 9s | 2m59s | 1m17s | 1m27s |
| Test | - | - | - | - |
| Deploy | - | - | - | - |
| Suite | 1s | 3m39s | 1m25s | 1m27s |