Skip to content
Snippets Groups Projects
Rodrigo Mesquita's avatar
Rodrigo Mesquita authored
In the 2decb0e7 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

Co-authored-by: sheaf's avatarsheaf <sam.derbyshire@gmail.com>
e817c2fe
History
Name Last commit Last update
..
AllowNewer
AllowOlder
Ambiguity
AutoconfBadPaths
AutogenModules
AutogenModulesToggling
Backpack
BenchmarkExeV10
BenchmarkOptions
BenchmarkStanza
BuildAutogenPackageGuard
BuildDeps
BuildTargetErrors
BuildTargets
BuildTestSuiteDetailedV09
BuildToolDepends
BuildToolDependsInternalMissing
BuildToolPaths
BuildTools
BuildableField
CCompilerOverride
CMain
COnlyMain
CabalMacros
CaretOperator
Check
CheckSetup
CmmSources
CmmSourcesDyn
CmmSourcesExe
ConditionalAndImport
ConfigFile
Configure
ConfigureComponent
CopyComponent
CopyHie
CustomDep
CustomPlain
CustomPreProcess
CustomSegfault
CustomTestCoverage
CustomWithoutCabal
CustomWithoutCabalDefaultMain
DeterministicAr
DuplicateModuleName
EmptyLib
Exec
ExecModern
ExternalCommand
ExternalCommandEnv
ExternalCommandExitCode
ExternalCommandHelp
ExternalCommandSetup
ExtraCompilationArtifacts
ExtraPackages
ExtraProgPath
FFI
ForeignLibs
Freeze
GHCJS/BuildRunner
GenBounds/Issue6290
Get
GhcPkgGuess
Haddock
HaddockArgs
HaddockBuildDepends
HaddockKeepsTmps
HaddockNewline
HaddockProject
HaddockWarn
Help/HelpPrintsConfigFile
IgnoreBuildTools
Init
Install
InternalLibraries
InternalVersions
JS
LinkerOptions
ListBin
Macros
Manpage
MultiRepl
MultipleLibraries
NewBuild
NewConfigure
NewFreeze
NewHaddock
NewSdist
NewUpdate
OfflineFlag
OnlyTestSuite
OrderFlags
Outdated
PackageDB
PackageInfoModule
Path
PathsModule
PkgConfigParse
PreProcess
PreProcessExtraSources
AllowNewer
AllowOlder
Ambiguity
AutogenModules
Backpack
BenchmarkExeV10
BenchmarkOptions
BenchmarkStanza
BuildDeps
BuildTargetErrors
BuildTestSuiteDetailedV09
BuildToolsPath
BuildableField
CMain
CaretOperator
Configure
ConfigureComponent
CopyComponent
CustomPreProcess
DeterministicAr
DuplicateModuleName
EmptyLib
ForeignLibs
GhcPkgGuess
Haddock
HaddockNewline
InternalLibraries
Macros
OrderFlags
PathsModule
PreProcess
PreProcessExtraSources
ReexportedModules
Regression
TemplateHaskell
TestNameCollision
TestOptions
TestStanza
TestSuiteTests
UniqueIPID
multInst