Skip to content

Add an option to hide output before a certain timeout is reached #161

@WaffleLapkin

Description

@WaffleLapkin

I'm writing a program which (among other things) executes nix-build to build a components that needs to be run afterwards. I would like to show users that this program isn't stuck and is just building the component using nom.

This works quite nicely, however, this also always adds a line like Finished at 02:31:03 after 1s to the output. Which is somewhat annoying/confusing for cases when the component build is in the cache and everything finishes in <1s.

I might be able to hack this around on my end, but ideally I want to just set some argument or an environment variable (say NIX_OUTPUT_MONITOR_HIDE_BEFORE=5) which would stop nom from showing output before a certain timeout has passed.

Is this viable? What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    configurationIssues about making nom configurableenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions