Skip to content

misc cleanups - #97

Merged
mitchellh merged 1 commit into
mainfrom
push-kvnmnmytzmrt
Apr 17, 2026
Merged

mitchellh merged 1 commit into
mainfrom
push-kvnmnmytzmrt

Conversation

@mitchellh

Copy link
Copy Markdown
Owner
  • fix nix run . to execute bin/zig and set mainProgram
  • narrow package meta.platforms to the current system and require sha256 for nightly packages too
  • add coreutils to the dev shell because the update script now computes hashes locally
  • rewrite update to use a temp dir, fail fast on fetch errors, retry downloads, verify release-only tarballs per platform, and derive sha256 from verified artifacts
  • preserve historical nightly entries while replacing current release and master metadata so stale nested attrs cannot leak forward
  • expand CI to build and run Zig, smoke test both templates, and check that ./update only changes mirrors.json and sources.json
  • tighten the auto-update workflow with scoped staging, no-op commit skipping, write permissions, and concurrency protection
  • update the init and compiler-dev templates to use newer nixpkgs, reuse the exported overlay, and refresh the compiler-dev lockfile

- fix `nix run .` to execute `bin/zig` and set `mainProgram`
- narrow package `meta.platforms` to the current system and require
  `sha256` for nightly packages too
- add `coreutils` to the dev shell because the update script now
  computes hashes locally
- rewrite `update` to use a temp dir, fail fast on fetch errors, retry
  downloads, verify release-only tarballs per platform, and derive
  `sha256` from verified artifacts
- preserve historical nightly entries while replacing current release
  and master metadata so stale nested attrs cannot leak forward
- expand CI to build and run Zig, smoke test both templates, and check
  that `./update` only changes `mirrors.json` and `sources.json`
- tighten the auto-update workflow with scoped staging, no-op commit
  skipping, write permissions, and concurrency protection
- update the init and compiler-dev templates to use newer `nixpkgs`,
  reuse the exported overlay, and refresh the compiler-dev lockfile
@mitchellh
mitchellh merged commit 9b90472 into main Apr 17, 2026
2 checks passed
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.

1 participant