-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Labels
featureFeature request or proposalFeature request or proposal
Description
Is your feature request related to a problem?
Right now, to the best of my knowledge, it's not possible to determine which nix build user a build is assigned to. It would help in some use cases to know this. The two that come to mind for me are:
- Debugging nix builds. Hypothetically, imagine if a nix build hangs for some reason (e.g. I'm adding some new very unstable feature to nix). It's useful metadata to know which build user the build was assigned to if I need to pkill processes on that build user.
- Any sort of nix-top "state of the nix world" analysis. I'm particularly interested in this since I'm trying to implement nix-btm (aka a nix-top clone).
Proposed solution
When building a drv, print which builder is being used. E.g. something like derivation '/nix/store/somehash-myderivationname.drv' assigned to builder 'nixbld2'
Alternative solutions
Additional context
Checklist
- checked latest Nix manual (source)
- checked open feature issues and pull requests for possible duplicates
Add 👍 to issues you find important.
Metadata
Metadata
Assignees
Labels
featureFeature request or proposalFeature request or proposal