Possible to build platform scoped features from the CLI API with rich platforms? #6495
Unanswered
matthewfeickert
asked this question in
Q&A
Replies: 1 comment 5 replies
|
Cross-post to the question on the prefix.dev Discord: Possible to build platform scoped features from the CLI API with rich platforms? |
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
In Pixi
v0.71.0"rich platform" support was added:along with a "Migrating from
[system-requirements]" page.I like to be able to use a lot of command line semantics as this helps with teaching and debugging with others. I want to be able to give Pixi CLI API calls to be able to create the Pixi
v0.71.0+version of this (oldsystem-requirements)pixi.tomlPixi manifestDetails
which evaluates
which I believe is the following rich platform based Pixi manifest:
which gives me the ability to do
For Pixi version
I think the command line invocations that should create the functionally identical workspace on
linux-64with an NVIDIA GPU on the system arewhich all in one line is:
and produces
However, now I have to pass the platform explicitly
Is there anyway from the CLI API to produce the Pixi manifest that has the platform scoped to the feature?
All reactions