Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix haddock compilation with in-library calls
`reusingGHCCompilationArtifacts` assumed the existence of a build folder where objects were written (even if empty), but with InLibrary calls this is no longer necessarily true. Previously, the build folder ended up always existing because the call of `configure` through `Setup` created the folder. However, now that we may call Cabal the library directly, the existence of this directory is no longer guaranteed. Easy fix: don't try to copy the build folder if it doesn't exist yet.
- Loading branch information