haskell.nix/test/sublib-docs/Setup.hs
Hamish Mackenzie 1e3c1304c1
Split haddock out into its own derivation (#725)
Generation the Haddock documentation for a component in a dedicated
derivation (instead of as part of the derivation to build the component).
This means that the haddock documents will not be built until they are
required for instance in a shellFor shell.

Co-authored-by: Richard Wallace <richard.wallace@simspace.com>
2020-06-27 01:29:41 +12:00

3 lines
46 B
Haskell

import Distribution.Simple
main = defaultMain