Skip to content
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

Use nix::ParsedDerivation::getRequiredSystemFeatures() #1342

Merged

Conversation

Ericson2314
Copy link
Member

A slight dedup, and also ensures that floating CA derivations require a ca-derivations experimental feature. This fixes the scheduling issue that @SuperSandro2000 found.

A slight dedup, and also ensures that floating CA derivations require a
`ca-derivations` experimental feature. This fixes the scheduling issue
that @SuperSandro2000 found.
@Ericson2314 Ericson2314 enabled auto-merge January 25, 2024 02:12
@Ericson2314 Ericson2314 merged commit f6a2b75 into NixOS:master Jan 25, 2024
1 check passed
@Ericson2314 Ericson2314 deleted the dedup-required-system-features branch January 25, 2024 02:13
Ericson2314 added a commit to obsidiansystems/hydra that referenced this pull request Jan 25, 2024
We have to oddly make a `StoreConfig` subclass to get it, but
NixOS/nix#9848 will fix that.

The purpose of this is to ensure that, absent an explicit config,
`localhost` includes `ca-derivations` and `recursive-nix` if those
experimental features are enabled.

Very much the complement of NixOS#1342, the previous PR.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant