-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Create StringSet DerivationBuilderParams::systemFeatures
#13808
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
Create StringSet DerivationBuilderParams::systemFeatures
#13808
Conversation
What exactly is the problem with that? |
I am trying to make I want this for separation of concerns, but also FFI |
Maybe it's easier to just pass |
I would settle for that, but IMO "set of strings with some strings having special meanings" is more an artifact of the A-Term derivation format and I'm fine ditching the ifdefs though, if you would want that. |
a1d7cb4
to
9cd1b46
Compare
That's not the case. It's a list of strings denoting required platform features, and those are inherently platform-specific. Hard-coding those features into We want to get rid of platform-specific code in |
🎉 All dependencies have been resolved ! |
OK, fair enough with |
Do this to avoid checking "system features" from the store config directly, because we rather not have `DerivationBuilder` depend on `Store`.
9cd1b46
to
f4a0161
Compare
DerivationBuilderParams::exposeKVM
boolStringSet DerivationBuilderParams::systemFeatures
OK, updated! |
Motivation
Do this to avoid checking "system features" from the store config directly, because we rather not have
DerivationBuilder
depend onStore
.Context
Depends on #13846
Add 👍 to pull requests you find important.
The Nix maintainer team uses a GitHub project board to schedule and track reviews.