-
Notifications
You must be signed in to change notification settings - Fork 697
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
Wrong cache invalidation (using PVP versions) with cabal install
vs cabal build
#7811
Comments
Hmm hls nor its companions (ghcide, hls-plugin-api etc) dont use internal libraries 🤔 |
Then I don't think there's a bug.
Is definitely not true. Contents of the This issue needs a reproducer, no point to keep the issue open indefinitely until. |
hmm but does a bug report needs a reproducer to keep it opened? that is the rationale behind the my intent was just work in getting such reproducer and close it if it is not possible...
that is my understanding but i wanted to confirm the bad behaviour detected in ghcup-hs |
My opinon on |
agree
But, a duplicate of? I've spent some time searching the issue tracker to find it (but maybe i failed of course). But whatever, will reopen if i find the reproducer |
I tried to reproduce it and I can't.
As you can see here... cabal hashes the entire contents of the source tarball. If you have the same PVP version, but different contents, it will rebuild the dependency. So the effect we observed was either due to something else or our assumptions were wrong. |
@hasufell thanks for check it, maybe returning to use cabal install in ghcup it will eventually trigger it again |
ghcup compile hls
was implemetedand
We should investigate the bug and try to reproduce it consistently to avoid to have to use
cabal build
+cabal list-bin
, workaround that does not play well with dynamic linkingMore context:
//cc @hasufell
The text was updated successfully, but these errors were encountered: