Skip to content

Commit d9165e1

Browse files
committed
Merge branch 'stable'
2 parents 6b26526 + c975f6c commit d9165e1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/haskell_and_c_code.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,12 @@ executables:
134134
dependencies: c-example
135135
~~~
136136

137+
!!! warning
138+
139+
`Cabal-3.12.0.0`, a boot package of GHC 9.10.1, ignores `source-dirs` when
140+
the `main` file is not a Haskell source code file. This was a regression and
141+
fixed in subsequent versions of Cabal (the library).
142+
137143
A Haskell module souce file named `Lib.hs` in directory `src`:
138144
~~~haskell
139145
module Lib

0 commit comments

Comments
 (0)