Skip to content

Local version of package is not rebuild / removed #2147

@blitzcode

Description

@blitzcode

I have a dependencies on a package that's not in Stackage. I specify an extra-deps. Works as expected. If I now remove it from the extra-deps, download the source from GitHub and add it in packages, it is rebuild and the local, modified version is used. So far so good. But:

  • If I modify the local package and then rebuild my project, the changes are not rebuild, not picked up
  • If I delete the local package, remove it from packages, put the Hackage version back in extra-deps, nothing changes either
  • Even if I do a stack clean it still seems to link to whatever binary of the local package it had

Only deleting .stack-work makes it pick up on the changes and rebuild & link the Hackage version again. This is with stack v1.1.0 on OS X 10.10.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions