Skip to content

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 <[email protected]>
@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
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