feat(dart): Add pinned Dart and Flutter SDK packages#31
Open
nikzen wants to merge 1 commit into
Open
Conversation
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>
9ed2987 to
85f7418
Compare
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 onaarch64-linux— no upstream stable binary)nix/dart/sdk.nix: exposespackages.famedly-{dart,flutter}-sdkand theupdateSdkVersionsapp, wired intonix/dart/default.nixnix/dart/packages/update-sdk-versions.py: refreshes the pins from the official release-metadata endpoints