Skip to content

Commit

Permalink
feature: channel specific dependencies (#439)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruben-arts authored Nov 10, 2023
1 parent 0ae1c4a commit 675893c
Show file tree
Hide file tree
Showing 9 changed files with 2,969 additions and 8,447 deletions.
546 changes: 317 additions & 229 deletions Cargo.lock

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,12 @@ package2 = ">1.2,<=1.4"
package3 = ">=1.2.3|<1.0.0"
```

Dependencies can also be defined as a mapping where it is using a [matchspec](https://docs.rs/rattler_conda_types/latest/rattler_conda_types/struct.NamelessMatchSpec.html):
```toml
package0 = { version = ">=1.2.3", channel="conda-forge" }
package1 = { version = ">=1.2.3", build="py34_0" }
```

!!! tip
The dependencies can be easily added using the `pixi add` command line.
Running `add` for an existing dependency will replace it with the newest it can use.
Expand Down
Loading

0 comments on commit 675893c

Please sign in to comment.