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

Allow plugins to define new settings. #1867

Merged
merged 1 commit into from Feb 19, 2018

Conversation

shlevy
Copy link
Member

@shlevy shlevy commented Feb 13, 2018

No description provided.

@shlevy shlevy requested a review from edolstra February 13, 2018 19:44
@shlevy
Copy link
Member Author

shlevy commented Feb 13, 2018

(example use case is implementation of #1841 that allows the user to specify the path to the extra builtins file)

@shlevy
Copy link
Member Author

shlevy commented Feb 15, 2018

@edolstra thoughts?

@puffnfresh
Copy link
Contributor

Related is #1875 - maybe this PR fixes it.

@shlevy
Copy link
Member Author

shlevy commented Feb 18, 2018

Hmm not sure if that's related?

@edolstra edolstra merged commit de4934a into NixOS:master Feb 19, 2018
@shlevy shlevy deleted the register-settings branch February 19, 2018 14:02
set = true;
}
}
}
}

void Config::warnUnknownSettings()
void Config::handleUnknownSettings(bool fatal)
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this called with fatal = true anywhere now?

Copy link
Member Author

Choose a reason for hiding this comment

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

@puffnfresh It wasn't before this commit either, but @edolstra removed the flag ed73d40

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