Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: implement mirror and oci settings #988

Merged
merged 11 commits into from
Mar 19, 2024
Prev Previous commit
Next Next commit
fix toml
  • Loading branch information
wolfv committed Mar 19, 2024
commit e4b7448e734521f4756272454064a174cff016b5
7 changes: 4 additions & 3 deletions docs/advanced/global_configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ loaded in the following order:
3. Project-local .pixi folder: `$PIXI_PROJECT/.pixi/config.toml`
4. Command line arguments (`--tls-no-verify`, `--change-ps1=false` etc.)

!!! note To find the locations where `pixi` looks for configuration files, run
!!! note
To find the locations where `pixi` looks for configuration files, run
`pixi` with `-v` or `--verbose`.

## Reference
Expand Down Expand Up @@ -42,13 +43,13 @@ authentication_override_file = "/path/to/your/override.json"
# configuration for conda channel-mirrors
[mirrors]
# redirect all requests for conda-forge to the prefix.dev mirror
"https://conda.anaconda.org/conda-forge": [
"https://conda.anaconda.org/conda-forge" = [
"https://prefix.dev/conda-forge"
]

# redirect all requests for bioconda to one of the three listed mirrors
# Note: for repodata we try the first mirror first.
"https://conda.anaconda.org/bioconda": [
"https://conda.anaconda.org/bioconda" = [
"https://conda.anaconda.org/bioconda",
# OCI registries are also supported
"oci://ghcr.io/channel-mirrors/bioconda",
Expand Down
Loading