mirror of
https://github.com/simplex-chat/haskell.nix.git
synced 2026-06-03 09:17:32 +00:00
1e3c1304c1
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>
48 lines
1.2 KiB
Plaintext
48 lines
1.2 KiB
Plaintext
cabal-version: 2.2
|
|
-- Initial package description 'cabal-simple.cabal' generated by 'cabal
|
|
-- init'. For further documentation, see
|
|
-- http://haskell.org/cabal/users-guide/
|
|
|
|
name: sublib-docs
|
|
version: 0.1.0.0
|
|
-- synopsis:
|
|
-- description:
|
|
-- bug-reports:
|
|
license: MIT
|
|
author: Moritz Angermann
|
|
maintainer: moritz.angermann@iohk.io
|
|
-- category:
|
|
build-type: Simple
|
|
|
|
library
|
|
exposed-modules: Lib
|
|
-- other-modules:
|
|
-- other-extensions:
|
|
build-depends: base
|
|
, slib
|
|
-- hs-source-dirs:
|
|
default-language: Haskell2010
|
|
hs-source-dirs: lib
|
|
|
|
library slib
|
|
exposed-modules: Slib
|
|
build-depends: extra
|
|
, safe
|
|
, aeson
|
|
, base
|
|
default-language: Haskell2010
|
|
hs-source-dirs: slib
|
|
|
|
|
|
executable sublib-docs
|
|
main-is: Main.hs
|
|
-- other-modules:
|
|
-- other-extensions:
|
|
build-depends: base
|
|
, sublib-docs
|
|
, extra
|
|
, optparse-applicative
|
|
hs-source-dirs: src
|
|
-- hs-source-dirs:
|
|
default-language: Haskell2010
|