Skip to content

docs(man): plugins can read [vars] during activation - #74

Open
tanjadev wants to merge 1 commit into
mainfrom
tanja/man-plugins-vars-4634
Open

docs(man): plugins can read [vars] during activation#74
tanjadev wants to merge 1 commit into
mainfrom
tanja/man-plugins-vars-4634

Conversation

@tanjadev

Copy link
Copy Markdown
Contributor

Mirrors the manifest.toml.md doc change from flox/flox#4634 into the generated man page man/manifest.toml.mdx.

The upstream PR changes activation to a three-phase order — interpreter profile.d scripts, then export [vars], then plugin profile.d scripts — so plugin scripts can read variables from the manifest's [vars] section. The [plugins] section of the man page now documents that:

  • Plugin scripts run with [vars] already exported, so a plugin may also be configured via [vars].
  • If a plugin script exports a variable with the same name as a [vars] entry, the plugin's value wins; hook.on-activate is the way to override a plugin-set variable.

The change was generated with scripts/sync-man-pages.sh from the upstream PR branch (tanja/env-profile-d), scoped to exactly that PR's delta, so the [plugins] section byte-matches what a future sync will produce.

Timing note: flox/flox#4634 is still open, and the nightly man-page sync regenerates man/ from the latest release tag. If a sync runs before 4634 merges and ships in a release, it will revert this file — merge timing should track the flox release.

🤖 Generated with Claude Code

Mirror the manifest.toml.md change from flox/flox#4634 into the
generated man page: plugin profile.d scripts now run with the [vars]
section already exported, so a plugin may be configured via [vars];
on a name collision the plugin's export wins.

Generated with scripts/sync-man-pages.sh from the PR branch
(tanja/env-profile-d), scoped to that PR's delta.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@mintlify

mintlify Bot commented Aug 20, 2026

Copy link
Copy Markdown

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

Project Status Preview Updated (UTC)
flox 🟢 Ready View Preview Aug 20, 2026, 8:26 PM

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

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