Skip to content
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

Lookup main-is C sources in hs-source-dirs #10171

Merged
merged 1 commit into from
Jul 7, 2024

Conversation

alt-romes
Copy link
Collaborator

In the 2decb0e refactor we stopped looking for non-Haskell main-is files in the hs-source-dirs and other appropriate directories. This commit fixes that oversight.

Even if it is not intuitive that main-is-C-sources are searched in the hs-source-dirs, we don't wish to break users relying on this behaviour as there does not exist that strong of a motivation to do so.

Fixes #10168

Template B: This PR does not modify behaviour or interface

E.g. the PR only touches documentation or tests, does refactorings, etc.

Include the following checklist in your PR:

  • Patches conform to the coding conventions.
  • Is this a PR that fixes CI? If so, it will need to be backported to older cabal release branches (ask maintainers for directions).

@alt-romes alt-romes added the merge me Tell Mergify Bot to merge label Jul 5, 2024
@mergify mergify bot added the merge delay passed Applied (usually by Mergify) when PR approved and received no updates for 2 days label Jul 7, 2024
In the 2decb0e refactor we stopped
looking for non-Haskell `main-is` files in the hs-source-dirs and other
appropriate directories. This commit fixes that oversight.

Even if it is not intuitive that main-is-C-sources are searched in the
hs-source-dirs, we don't wish to break users relying on this behaviour
as there does not exist that strong of a motivation to do so.

Fixes haskell#10168

Co-authored-by: sheaf <sam.derbyshire@gmail.com>
@Mikolaj Mikolaj force-pushed the wip/romes/10168 branch from 9af4c0a to e817c2f Compare July 7, 2024 09:27
@mergify mergify bot merged commit 2fbfd55 into haskell:master Jul 7, 2024
52 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge delay passed Applied (usually by Mergify) when PR approved and received no updates for 2 days merge me Tell Mergify Bot to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cabal ignores hs-source-dirs: if main-is: is a C source file
3 participants