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

Add log-format and log-format-legacy settings #1

Draft
wants to merge 2 commits into
base: setting-handlers
Choose a base branch
from

Conversation

9999years
Copy link
Owner

Motivation

This closes NixOS#5561 by adding a log-format setting and avoids the issues of NixOS#8323 (namely, that nix and nix-build have different default log formats) by adding a log-format-legacy setting to override the log-format setting only for old-style commands like nix-build.

This is also a demonstration PR to show that the functionality added in NixOS#9922 is suitable for migrating command-line arguments to settings, even non-trivial ones with contextual defaults.

Priorities

Add 👍 to pull requests you find important.

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