evaluate configurations based on operating system #408
Answered
by
odenix
FractalDesigns
asked this question in
Q&A
-
Hello, I am trying to create a pkl configuration that output a toml file based on the operating system. (diffrent keys are not same for each os) I can't find anything relevant to operating system. Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Answered by
odenix
Apr 7, 2024
Replies: 1 comment 1 reply
-
This should work:
https://pkl-lang.org/package-docs/pkl/current/platform/index.html I'm a little surprised this exists because it can result in non-deterministic output. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
FractalDesigns
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This should work:
https://pkl-lang.org/package-docs/pkl/current/platform/index.html
I'm a little surprised this exists because it can result in non-deterministic output.