Skip to content

feat(dart): Add pinned Dart and Flutter SDK packages#31

Open
nikzen wants to merge 1 commit into
mainfrom
feat/dart-sdk-packages
Open

feat(dart): Add pinned Dart and Flutter SDK packages#31
nikzen wants to merge 1 commit into
mainfrom
feat/dart-sdk-packages

Conversation

@nikzen

@nikzen nikzen commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds centrally pinned Dart and Flutter SDK derivations so the DevShell and CI can later share identical toolchain binaries.

  • nix/dart/sdk-versions.nix: central version + SRI hash pins (generated)
  • nix/dart/packages/{dart,flutter}-sdk.nix: SDK derivations built from the pins (Flutter omitted on aarch64-linux — no upstream stable binary)
  • nix/dart/sdk.nix: exposes packages.famedly-{dart,flutter}-sdk and the updateSdkVersions app, wired into nix/dart/default.nix
  • nix/dart/packages/update-sdk-versions.py: refreshes the pins from the official release-metadata endpoints
  • README: documents how to update the SDK versions

Introduce centrally pinned Dart/Flutter SDK derivations so that the
DevShell and CI can share identical toolchain binaries.

- nix/dart/sdk-versions.nix: central version + SRI hash pins (generated)
- nix/dart/packages/{dart,flutter}-sdk.nix: SDK derivations from the pins
  (flutter omitted on aarch64-linux — no upstream stable binary)
- nix/dart/sdk.nix: expose packages.famedly-{dart,flutter}-sdk and the
  updateSdkVersions app, wired into nix/dart/default.nix
- nix/dart/packages/update-sdk-versions.py: refresh pins from the official
  release-metadata endpoints; resolves the target file via the git repo
  root so it works under `nix run`, and emits output identical to the
  committed file to avoid drift
- README: document how to update the SDK versions

Co-authored-by: Cursor <cursoragent@cursor.com>
@nikzen nikzen force-pushed the feat/dart-sdk-packages branch from 9ed2987 to 85f7418 Compare June 24, 2026 11:53
@nikzen nikzen requested a review from tlater-famedly June 24, 2026 11:54
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