Skip to content

Commit 448bd0d

Browse files
KemingHegithub-actions[bot]
authored andcommitted
docs(src/assets/): update pixi official documentation
1 parent 2e95b57 commit 448bd0d

File tree

5 files changed

+32
-6
lines changed

5 files changed

+32
-6
lines changed

src/assets/pixi/_metadata.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"source_repo": "prefix-dev/pixi",
33
"docs_path": "docs",
4-
"updated_at": "2025-10-14T22:05:53Z",
5-
"commit_sha": "3c919ebd3c2dad60f3cd39a95b891dfb08dad106"
4+
"updated_at": "2025-10-21T22:06:37Z",
5+
"commit_sha": "3039a718dee2a025cb1c73bc1372397186a3d112"
66
}

src/assets/pixi/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Pixi defaults to the **biggest Conda package repository**, [conda-forge](https:/
9393
**30,000 packages**.
9494

9595
- **Python**: [`python`](https://prefix.dev/channels/conda-forge/packages/python), [`scikit-learn`](https://prefix.dev/channels/conda-forge/packages/scikit-learn), [`pytorch`](https://prefix.dev/channels/conda-forge/packages/pytorch)
96-
- **C/C++**: [`clang`](https://prefix.dev/channels/conda-forge/packages/clang), [`boost`](https://prefix.dev/channels/conda-forge/packages/boost-cpp), [`opencv`](https://prefix.dev/channels/conda-forge/packages/opencv), [`ninja`](https://prefix.dev/channels/conda-forge/packages/ninja)
96+
- **C/C++**: [`clang`](https://prefix.dev/channels/conda-forge/packages/clang), [`boost`](https://prefix.dev/channels/conda-forge/packages/libboost-devel), [`opencv`](https://prefix.dev/channels/conda-forge/packages/opencv), [`ninja`](https://prefix.dev/channels/conda-forge/packages/ninja)
9797
- **Java**: [`openjdk`](https://prefix.dev/channels/conda-forge/packages/openjdk), [`gradle`](https://prefix.dev/channels/conda-forge/packages/gradle), [`maven`](https://prefix.dev/channels/conda-forge/packages/maven)
9898
- **Rust**: [`rust`](https://prefix.dev/channels/conda-forge/packages/rust), [`cargo-edit`](https://prefix.dev/channels/conda-forge/packages/cargo-edit), [`cargo-insta`](https://prefix.dev/channels/conda-forge/packages/cargo-insta)
9999
- **Node.js**: [`nodejs`](https://prefix.dev/channels/conda-forge/packages/nodejs), [`pnpm`](https://prefix.dev/channels/conda-forge/packages/pnpm), [`eslint`](https://prefix.dev/channels/conda-forge/packages/eslint)

src/assets/pixi/integration/ci/github_actions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ We created [prefix-dev/setup-pixi](https://github.com/prefix-dev/setup-pixi) to
1010
```yaml
1111
- uses: prefix-dev/setup-pixi@v0.9.2
1212
with:
13-
pixi-version: v0.56.0
13+
pixi-version: v0.57.0
1414
cache: true
1515
auth-host: prefix.dev
1616
auth-token: ${{ secrets.PREFIX_DEV_TOKEN }}
@@ -334,7 +334,7 @@ However, be aware that this option augments the environment of your job.
334334
### `--frozen` and `--locked`
335335

336336
You can specify whether `setup-pixi` should run `pixi install --frozen` or `pixi install --locked` depending on the `frozen` or the `locked` input argument.
337-
See the [official documentation](https://prefix.dev/docs/pixi/cli#install) for more information about the `--frozen` and `--locked` flags.
337+
See the [official documentation](../../reference/cli/pixi/install.md#update-options) for more information about the `--frozen` and `--locked` flags.
338338

339339
```yaml
340340
- uses: prefix-dev/setup-pixi@v0.9.2

src/assets/pixi/integration/editor/vscode.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Then, create the following two files in the `.devcontainer` directory:
2828
```dockerfile title=".devcontainer/Dockerfile"
2929
FROM mcr.microsoft.com/devcontainers/base:jammy
3030

31-
ARG PIXI_VERSION=v0.56.0
31+
ARG PIXI_VERSION=v0.57.0
3232

3333
RUN curl -L -o /usr/local/bin/pixi -fsSL --compressed "https://github.com/prefix-dev/pixi/releases/download/${PIXI_VERSION}/pixi-$(uname -m)-unknown-linux-musl" \
3434
&& chmod +x /usr/local/bin/pixi \

src/assets/pixi/reference/pixi_manifest.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,32 @@ c_compiler_version = ["11.4", "13.0"]
312312

313313
For detailed examples and tutorials, see the [build variants documentation](../build/variants.md).
314314

315+
### `build-variants-files` (optional)
316+
317+
!!! warning "Preview Feature"
318+
Build variant files require the `pixi-build` preview feature to be enabled:
319+
```toml
320+
[workspace]
321+
preview = ["pixi-build"]
322+
```
323+
324+
Use `build-variants-files` to reference external variant definitions from YAML files.
325+
Paths are resolved relative to the workspace root and processed in the listed
326+
order—entries from earlier files take precedence over values loaded from later ones.
327+
328+
```toml
329+
[workspace]
330+
build-variants-files = [
331+
"./pinning/conda_build_config.yaml",
332+
"./variants/overrides.yaml",
333+
]
334+
```
335+
336+
Each entry must point to either a `conda_build_config.yaml` or another `.yaml`
337+
file that defines build variants.
338+
If the file is called `conda_build_config.yaml`, it will attempt to parse it with a subset of [`conda-build`'s variant syntax](https://docs.conda.io/projects/conda-build/en/stable/resources/variants.html#using-variants-with-the-conda-build-api).
339+
Otherwise, it will use `rattler-build`'s syntax as outlined in the [rattler-build documentation](https://rattler.build/latest/variants/#variant-configuration).
340+
315341
## The `tasks` table
316342

317343
Tasks are a way to automate certain custom commands in your workspace.

0 commit comments

Comments
 (0)