-
Notifications
You must be signed in to change notification settings - Fork 846
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
Extra dep specified as git repo builds unnecessarily #1295
Comments
My mistake: "src/Dev/Runner.hs" only exists in ghci-runner. (Snowdrift has "dev/Runner.hs".) So, there's still the question of why an extra-dep is rebuilt after 'stack clean', and why it thinks both ghci-runner.cabal and src/Dev/Runner.hs have changed when they are being pulled from a specific git revision. |
Hmm, yeah, there does seem to be something weird here. Thanks for the report! Extra-deps usually don't get rebuilt after So, this must be something to do with it being a git repo. I figured maybe it's deleting the repo and recloning it, but that seems to not be the case. |
Yeah. You may have already noticed this as well, but when stack does Besides the 3-second delay, it's also annoying because "stack build On Fri, Nov 6, 2015 at 3:09 PM, Michael Sloan notifications@github.com
|
Yup, that particular issue with |
This will be resolved as a side-effect of #1265, so closing to track this concern under that issue. |
Ehh, may as well leave this open but in "blocked" status. |
I thought #2596 might fix this, because it fixed something similar on the latest version of Snowdrift. But when I do the repro exactly as specified up top, the same behavior is expressed. I guess this isn't fixed yet.
|
Old issue. Please open a new one or comment on #2796 if this is still happening. |
On current HEAD of Snowdrift's master (ad236659f819eb220c282f35a4b04525a9fdc52b), the dependency ghci-runner is rebuilt after a 'stack clean':
Is this intended behavior?
If not, is this because both Snowdrift and ghci-runner have a source file 'src/Dev/Runner.hs'? But then why does it say that ghci-runner.cabal changes, too?
The stack.yaml:
The text was updated successfully, but these errors were encountered: