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

base: Run the builder in strict mode, too #230

Merged
merged 1 commit into from
Apr 1, 2024

Conversation

CyberShadow
Copy link
Contributor

Fixes the derivation incorrectly "succeeding" when the build has actually failed, for example due to running out of memory.

One situation where this is relevant is described here. It's unclear why this manifests only with the nixpkgs bump.

Fixes the derivation incorrectly "succeeding" when the build has
actually failed, for example due to running out of memory.
@Atemu
Copy link
Contributor

Atemu commented Mar 29, 2024

This has been an issue that has certainly annoyed me too. I trust that you tested this by killing the build?

@CyberShadow
Copy link
Contributor Author

I have tested it, though not in that exact manner. Let me do that now.

@CyberShadow
Copy link
Contributor Author

CyberShadow commented Mar 29, 2024

Yes, seems to work (fail in the correct manner) as expected. Successful builds still succeed, too.

@eyJhb
Copy link
Contributor

eyJhb commented Mar 30, 2024

Confirmed to work with my scenario linked above, where I go OOM.

@Atemu Atemu merged commit edb29c8 into nix-community:master Apr 1, 2024
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.

3 participants