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.
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 theextra-deps, download the source from GitHub and add it inpackages, it is rebuild and the local, modified version is used. So far so good. But:packages, put the Hackage version back inextra-deps, nothing changes eitherstack cleanit still seems to link to whatever binary of the local package it hadOnly deleting
.stack-workmakes 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.