feat(nix): expose per-version extension derivations via passthru#2302
Draft
brainrake wants to merge 2 commits into
Draft
feat(nix): expose per-version extension derivations via passthru#2302brainrake wants to merge 2 commits into
brainrake wants to merge 2 commits into
Conversation
Adds `passthru.perVersion` (version -> single-version derivation) to each multi-version extension. The attrset already existed inline as the input to the buildEnv; this just surfaces it so the extension catalog can reference a single (extension, version) store path directly. No change to any buildEnv output. Part of PSQL-1530.
PostgreSQL Package Dependency Analysis: PR #2302
SummaryNo packages had MAJOR version updates. Full Analysis ResultsPostgreSQL 15 Dependency ChangesExtracting PostgreSQL 15 dependencies...
Runtime Closure Size
Raw Dependency ClosurePostgreSQL 17 Dependency ChangesExtracting PostgreSQL 17 dependencies...
Runtime Closure Size
Raw Dependency Closure |
PostgreSQL Extension Dependency Analysis: PR #2302
SummaryNo extensions had dependencies with MAJOR version updates. Full Analysis ResultsPostgreSQL 15 Extension DependenciesPostgreSQL 17 Extension DependenciesOrioleDB 17 Extension Dependencies |
|
Found 1 test failure on Blacksmith runners: Failure
|
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.
Adds
passthru.perVersion(version -> single-version derivation) to each multi-version extension (18 files, one line each).The per-version attrset already existed inline as the input to each extension's
buildEnv— this just surfaces it instead of discarding it. No change to anybuildEnvoutput or extension identity;exts.<name>is still the same derivation, now carrying.perVersion."<version>"whoseoutPathis the lean single-version store path.This is the prerequisite for the extension catalog in the profile-based version-switching work — it lets the catalog reference a single
(extension, version)store path directly, with no buildEnv copy and no IFD.Part of PSQL-1530.