We could use
```
hs-source-dirs: src, haddock-library/src, vendor/attoparsec-0.10.4.0
```
and remove `haddock-library` from `build-depends`.