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

home-manager: support passing --log-format to nix-build #6654

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

imsuck
Copy link

@imsuck imsuck commented Mar 18, 2025

Description

You can now pass --log-format FORMAT to nix-build, useful for piping into nix-output-monitor.

Closes #6093.

Checklist

  • Change is backwards compatible.

  • Code formatted with ./format.

  • Code tested through nix-shell --pure tests -A run.all
    or nix build --reference-lock-file flake.lock ./tests#test-all using Flakes.

  • Test cases updated/added. See example.

  • Commit messages are formatted like

    {component}: {description}
    
    {long description}
    

    See CONTRIBUTING for more information and recent commit messages for examples.

  • If this PR adds a new module

    • Added myself as module maintainer. See example.

Maintainer CC

You can now pass `--log-format FORMAT` to `nix-build`,
useful for piping into `nix-output-monitor`.
Copy link
Collaborator

@khaneliman khaneliman left a comment

Choose a reason for hiding this comment

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

LGTM and love adding support for nom.

@imsuck
Copy link
Author

imsuck commented Mar 18, 2025

Just realized I didn't add shell completions. Will probably do that soon.

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.

support passing --log-format to nix-build
2 participants