Skip to content
Snippets Groups Projects
Commit f8e37841 authored by Duncan Coutts's avatar Duncan Coutts
Browse files

for c2hs, look for .chi files in dist/build rather than hs-src-dirs

Since when we run c2hs we put .chi files into dist/build so that's also
where we should be looking for them.
parent e5797340
No related merge requests found
......@@ -375,7 +375,7 @@ ppC2hs bi lbi
runPreProcessor = \(inBaseDir, inRelativeFile)
(outBaseDir, outRelativeFile) verbosity ->
rawSystemProgramConf verbosity c2hsProgram (withPrograms lbi) $
["--include=" ++ dir | dir <- hsSourceDirs bi ]
["--include=" ++ outBaseDir]
++ ["--cppopts=" ++ opt | opt <- cppOptions bi lbi]
++ ["--output-dir=" ++ outBaseDir,
"--output=" ++ outRelativeFile,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment