Skip to content

Detect errors from runPhase #5

@blokyk

Description

@blokyk

cf nixpkgs#478041; tldr: runPhase always return exit code 0 even when the phase completed with errors.

This means that currently, if you do run-until build, and e.g. the patch phase fails, it'll ignore it and continue to updateAutotools and configure, which is... unfortunate :(

The temporary solution right now is probably to just redefine runPhase with extra logic to return the error code, but that is less than ideal

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions