diagrams / diagrams-contrib

User-contributed extensions to diagrams
BSD 3-Clause "New" or "Revised" License
27 stars 30 forks source link

Unsupported fields in Cabal file #26

Closed peti closed 10 years ago

peti commented 10 years ago

Cabal 1.16.0 (that's part of GHC 7.6.3) doesn't fully understand the build instructions:

Warning: diagrams-contrib.cabal: Unknown fields: extra-doc-files (line 17)

The complete build log is at http://hydra.cryp.to/build/25164/nixlog/1/raw.

byorgey commented 10 years ago

Yes, I know. We are now using the extra-doc-files field which is new in 1.18. This warning is completely harmless, other than the fact that if you build the Haddock documentation with cabal 1.16, it will be missing the inline images. If that is important, as a workaround you can just manually copy diagrams/*.svg from the tarball into dist/doc/html/diagrams-contrib/diagrams/ (or wherever else the documentation is installed).