Skip to content

feat: read the shared config layer instead of pixi's config files - #2724

Draft
Hofer-Julian wants to merge 1 commit into
mainfrom
shared-config-layer
Draft

feat: read the shared config layer instead of pixi's config files#2724
Hofer-Julian wants to merge 1 commit into
mainfrom
shared-config-layer

Conversation

@Hofer-Julian

@Hofer-Julian Hofer-Julian commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Pixi and Rattler-Build understand largely the same settings: mirrors, S3 options, default channels, TLS. With conda/rattler#2645 there's a shared home for these config keys: /etc/rattler/config.toml and $XDG_CONFIG_HOME/rattler/config.toml.

Rattler-Build reads the shared layer plus its own files. Pixi's config files are no longer read: they warned about every pixi-only key and leaked pixi settings like default-channels into builds.

Draft until conda/rattler#2645 is merged and released; the [patch.crates-io] entries go away then.

Note: the Windows jobs fail while the git pin is in place - cargo's git checkout of the rattler repo hits path too long on Windows runners. This resolves itself when the pin is dropped after the release.

rattler-build reads the shared rattler configuration
(`/etc/rattler/config.toml`, `$XDG_CONFIG_HOME/rattler/config.toml`)
layered with its own files. Pixi's config files are no longer read:
they warned about every pixi-only key and leaked pixi settings like
`default-channels` into builds. Settings meant for every tool belong
in the shared files.

The rattler crates are temporarily patched to a conda/rattler git
revision until a rattler_config with the shared layer is released.
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