Skip to content

install: stop building on build failures #1924

Open

Description

@tibbe

Today, we continue building packages even if one failed to build. It's this way because once upon a time @dcoutts was building all of Hackage and keeping building on failure made sense then. @dcoutts and I agree that this probably not the right default so we should

  • stop building on failure (when using parallel builds some packages may already be in-flight, that's OK),
  • add a --keep-going flag that enables the old behavior.

Activity

  1. added this to the milestone on Apr 23, 2015
  2. ttuegel commented on Apr 23, 2015

    @ttuegel
    Member

    Because we now print the whole build log, continuing to install packages can push the build log out of scrollback, which makes this even more problematic.

  3. reinh commented on Apr 29, 2015

    @reinh

    👍, I think failing early would be the sensible default.

  4. modified the milestones: Cabal 1.24, on Feb 21, 2016
  5. modified the milestone: Cabal 2.0 on Sep 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions