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

nix-daemon: allow setting builders to "" by any user (untrusted) #2448

Conversation

dtzWill
Copy link
Member

@dtzWill dtzWill commented Sep 25, 2018

It'd be even better to accept a subset of builders, but this is still
a big win IMHO for making it easy to disable distributed builds from normal accounts.

@edolstra edolstra merged commit 7ccdcc7 into NixOS:master Sep 25, 2018
@@ -557,7 +557,8 @@ static void performOp(TunnelLogger * logger, ref<Store> store,
;
else if (trusted
|| name == settings.buildTimeout.name
|| name == "connect-timeout")
|| name == "connect-timeout"
|| (name == "builders" && value == ""))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dtzWill would you mind sending a PR adding docs for this?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't mind at all, but not sure how to edit the docs. Will take a look at that later today, probably should bite the bullet! If you find yourself wondering when I'm going to do it please bug me about it ;).

But sure thing, and thanks for all your documentation work! (including ensuring documentation exists for new things, like here!)

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.

None yet

3 participants