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
cf nixpkgs#478041; tldr:
runPhasealways 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 toupdateAutotoolsandconfigure, which is... unfortunate :(The temporary solution right now is probably to just redefine
runPhasewith extra logic to return the error code, but that is less than ideal