Skip to content

If a package build-depends on an executable only package, we repeatedly rebuild it #3663

Closed

Description

@ezyang

Steps to reproduce:

  1. Put happy in build-depends of a package
  2. cabal new-build it (download and install happy, then fail)
  3. cabal new-build it again

Expected result: fails immediately, without rebuilding happy

Actual result: rebuild happy first

Ostensibly we need to look to see if there's an appropriately named directory in the store when we improve. But there's also a refactoring where PreExisting ipkg is insufficient to represent executables (which don't have installed package infos).

Activity

  1. added
    cabal-install: v2-build system
    on Aug 2, 2016
  2. added this to the cabal-install 2.0 milestone on Aug 16, 2016
  3. ezyang commented on Aug 24, 2016

    @ezyang
    ContributorAuthor

    This is fixed in HEAD.

  4. modified the milestones: cabal-install 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

    cabal-install: v2-build systemtype: bug

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions