Skip to content

BuildError: set exit status by default#15154

Closed
amaanq wants to merge 1 commit intoNixOS:masterfrom
obsidiansystems:builderror-exit-status
Closed

BuildError: set exit status by default#15154
amaanq wants to merge 1 commit intoNixOS:masterfrom
obsidiansystems:builderror-exit-status

Conversation

@amaanq
Copy link
Member

@amaanq amaanq commented Feb 5, 2026

Motivation

This commit has BuildError compute its exit status by default from its Status. While exit codes may sometimes need to be recomputed (e.g., when combining multiple errors), this simplifies the common case.


Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

@amaanq amaanq requested a review from Ericson2314 as a code owner February 5, 2026 15:59
@amaanq amaanq force-pushed the builderror-exit-status branch from 894fd7f to a63af39 Compare February 5, 2026 16:00
@Ericson2314 Ericson2314 enabled auto-merge February 5, 2026 16:12
auto-merge was automatically disabled February 5, 2026 16:29

Head branch was pushed to by a user without write access

@amaanq amaanq force-pushed the builderror-exit-status branch from a63af39 to 1b8617c Compare February 5, 2026 16:29
@amaanq amaanq requested a review from edolstra as a code owner February 5, 2026 16:29
@github-actions github-actions bot added the with-tests Issues related to testing. PRs with tests have some priority label Feb 5, 2026
@amaanq amaanq force-pushed the builderror-exit-status branch 2 times, most recently from 446583a to 40e2d91 Compare February 5, 2026 16:46
This commit has `BuildError` compute its exit status by default from its `Status`. While exit codes may sometimes need to be recomputed (e.g., when combining multiple errors), this simplifies the common case.

Co-authored-by: Amaan Qureshi <git@amaanq.com>
@amaanq amaanq force-pushed the builderror-exit-status branch from 40e2d91 to 236838d Compare February 5, 2026 17:28
@amaanq
Copy link
Member Author

amaanq commented Feb 5, 2026

Closing as we can't split this out from #15090

@amaanq amaanq closed this Feb 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

with-tests Issues related to testing. PRs with tests have some priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants