Drop extra nixpkgs - #2388
Draft
mmlb wants to merge 6 commits into
Draft
Conversation
We already build and cache with nix, no need to waste time doing it in ansible. Closes PSQL-1457
Nothing uses is in tree or internally, also why were even we *building* nginx? Closes PSQL-1632
No longer building anything in ansible and these are no longer installed so do not need this cleanup.
Mostly so we have one less nixpkgs fetched/copied into the store for builds, but its seems like there might be some perf improvements to n-e-j too.
Lets avoid a whole other nixpkgs source fetch/copy + all of the runtime dependencies that bloat the image (glibc + w/e else). Instead lets just define these packages so we share everything.
mmlb
force-pushed
the
push-wruxlypntvyq
branch
from
August 21, 2026 20:02
18e074a to
67382c6
Compare
PostgreSQL Extension Dependency Analysis: PR #2388
SummaryThe following extensions have dependencies that underwent MAJOR version updates:
Full Analysis ResultsPostgreSQL 15 Extension DependenciesExtension: pg_net
Raw Dependency TreePostgreSQL 17 Extension DependenciesExtension: pg_net
Raw Dependency TreeOrioleDB 17 Extension Dependencies |
PostgreSQL Package Dependency Analysis: PR #2388
SummaryThe following packages underwent 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 |
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.
What kind of change does this PR introduce?
Feature
What is the current behavior?
We have 3 copies of nixpkgs in our flake, 2 are used in our outputs and the other is for nix-eval-jobs.
What is the new behavior?
Only one nixpkgs.
Additional context
Dropping unnecessary nixpkgs is nice for a few reasons the most obvious is less needs to be fetch and copied into the store at build time so has some benefits there. The big benefit is in dropping nixpkgs-oldstable which was used for curl v8.6 and v8, but that also ends up "duplicating" all the dependencies (libc + others) with the rest of the tree. Nix handles that fine but bloats our final image. Instead of whole nixpkgs and deps we can just build those old packages on our new nixpkgs and get the functionality without the bloat.