Skip to content

docs(builds): correct where a Nix expression build's nixpkgs comes from - #95

Open
imkarrer wants to merge 1 commit into
mainfrom
isaac/eco-59-nef-nixpkgs-docs
Open

imkarrer wants to merge 1 commit into
mainfrom
isaac/eco-59-nef-nixpkgs-docs

Conversation

@imkarrer

Copy link
Copy Markdown
Contributor

Corrects concepts/nix-expression-builds.mdx, which told readers that Flox "will attempt to produce a build that is compatible with any packages in the 'toplevel' package group". flox/flox#4708 removes that behaviour: a Nix expression build now resolves the catalog's current stable nixpkgs, or the revision named with --stability, and the environment's packages play no part in it. Resolves the docs half of ECO-59.

The page now says what decides the revision, and names the consequence that replaces the old compatibility promise: an environment containing both manifest and Nix expression builds builds them against two different package sets, flox build warns when they have diverged, and flox upgrade brings them back together.

man/flox-build.mdx and man/flox-publish.mdx also carry the old wording, but they are generated by scripts/sync-man-pages.sh from flox/flox — the corrected text is in that PR and will arrive with the next sync, so they are deliberately untouched here.

Checked with mint broken-links (the 3 failures it reports are pre-existing /changelog/rss.xml links) and vale (clean).

The page said Flox would "attempt to produce a build that is compatible
with any packages in the 'toplevel' package group", which stopped being
true in flox/flox#4708: a Nix expression build now resolves the catalog's
current stable revision, or the one named with --stability, and the
environment's own packages play no part in it.

Say what decides the revision now, and name the consequence that replaces
the old compatibility promise — an environment holding both kinds of build
builds them against two different package sets, which `flox build` warns
about and `flox upgrade` resolves.

ECO-59
@mintlify

mintlify Bot commented Sep 18, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
flox 🟢 Ready View Preview Sep 18, 2026, 4:31 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

@ysndr ysndr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did we change that again?
I still remind that this behavior was specifically targeting a sore experience of not being able to install published software in the same environment on multiple occasions.

That aside, the comment would be correct.

@imkarrer

Copy link
Copy Markdown
Contributor Author

We havent changed it yet, thats flox/flox#4708. This needs to follow (why dont the docs live with the repo?)

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.

2 participants