Skip to content

pixi: use the system CA store by default - #576560

Merged
zimbatm merged 1 commit into
NixOS:masterfrom
zimbatm:cacert-pixi
Nov 5, 2026
Merged

zimbatm merged 1 commit into
NixOS:masterfrom
zimbatm:cacert-pixi

Conversation

@zimbatm

@zimbatm zimbatm commented Oct 20, 2026 •

Copy link
Copy Markdown
Member

pixi uses rustls with the bundled webpki root certificates by default. That copy does not get cacert updates, for example the removal of emSign ECC Root CA - G3 after the eMudhra intermediate revocations.

pixi has a PIXI_TLS_ROOT_CERTS setting. Set it to "system" with --set-default, so that pixi uses the system store. Users can still override it with the env var or the --tls-root-certs flag.

Tested on x86_64-linux with pixi search -c conda-forge numpy: with the system store replaced by one unrelated root (bwrap) and no SSL_CERT_FILE, the old pixi still works through its bundled roots and the new one fails with UnknownIssuer; with the real store both work, and PIXI_TLS_ROOT_CERTS=webpki restores the old behaviour. Note: the env var takes precedence over tls-root-certs in config.toml.

Related to: #576485
Related to: #576544

Assisted-by: Claude Code (claude-opus-5)

Things done

pixi uses rustls with the bundled webpki root certificates by default.
That copy does not get cacert updates, for example the removal of
emSign ECC Root CA - G3 after the eMudhra intermediate revocations.

pixi has a PIXI_TLS_ROOT_CERTS setting. Set it to "system" with
--set-default, so that pixi uses the system store. Users can still
override it with the env var or the --tls-root-certs flag.

Ref: NixOS#576544

Assisted-by: Claude Code (claude-opus-5)
@nixpkgs-ci
nixpkgs-ci Bot requested review from esteve and xiaoxiangmoe October 20, 2026 21:50
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". llm-assisted Contributions that include code generation with LLMs labels Oct 20, 2026
@zimbatm zimbatm added the backport release-26.05 Backport PR automatically label Oct 20, 2026
@necerlend necerlend mentioned this pull request Oct 22, 2026
5 of 13 tasks
@zimbatm
zimbatm added this pull request to the merge queue Nov 5, 2026
Merged via the queue into NixOS:master with commit 4a8ce46 Nov 5, 2026
35 checks passed
@zimbatm
zimbatm deleted the cacert-pixi branch November 5, 2026 12:23
@nixpkgs-ci

nixpkgs-ci Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

Successfully created backport PR for release-26.05:

@github-actions github-actions Bot added the 8.has: port to stable This PR already has a backport to the stable release. label Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". 8.has: port to stable This PR already has a backport to the stable release. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. backport release-26.05 Backport PR automatically llm-assisted Contributions that include code generation with LLMs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant