Skip to content

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

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

Closed
ezyang opened this issue Aug 2, 2016 · 1 comment

Comments

@ezyang
Copy link
Contributor

ezyang commented Aug 2, 2016

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).

@ezyang
Copy link
Contributor Author

ezyang commented Aug 24, 2016

This is fixed in HEAD.

@ezyang ezyang closed this as completed Aug 24, 2016
@ezyang ezyang modified the milestones: cabal-install 2.0, 2.0 (planned for next feature release) Sep 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant