-
Notifications
You must be signed in to change notification settings - Fork 119
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
[BUG] Cabal.extra-source-files lists many non-existing cbits files #543
Comments
If I recall correctly, the situation here is that those files do exist if the tracy submodule is cloned, which happens if the What do you need an sdist for? |
Aha, it seems I must pull a submodule. Ok, my original problem is, I want to fetch accelerate/GIT-HEAD in a
and this fails because of the missing submodule. I must Cabal teach somehow to also pull that submodule. When I build this project, Cabal fetches the Git repository and then seems to package that working copy with |
I see! If this is all you need, then the answer is:
for cabal >= 3.8. For cabal < 3.8, you'll need to put |
Perfect, this solves my problem! |
Thanks for asking, now there is something that people can find when searching for the error message :) EDIT: for future visitors: if you have a good idea how to manage this |
Description
The directory
cbits/tracy
is empty, butCabal.extra-source-files
lists many subdirectories and cpp and hpp files.Steps to reproduce
Your environment
The text was updated successfully, but these errors were encountered: