-
Notifications
You must be signed in to change notification settings - Fork 711
cabal sdist
concatenates main-is
#3313
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
Comments
The culprit is likely the |
An easy fix would probably be to make it a list, and then fail at use sites if the list contains more than one element. |
I think it may be better to do a dedicated traversal. We need two versions of this anyway, one to get all files under all/any configuration (for sdist) and another to find the files under a specific configuration (for build file monitoring). |
consider the fragment
With cabal 1.24 this causes
cabal sdist
to fail with@dcoutts says
/cc @ezyang
The text was updated successfully, but these errors were encountered: