mirror of
https://github.com/ilyakooo0/haskell.nix.git
synced 2024-11-10 15:19:01 +03:00
parent
4bc3b472d4
commit
d6255c97aa
@ -208,11 +208,18 @@ stdenv.mkDerivation ({
|
||||
docdir="${docdir "$doc"}"
|
||||
mkdir -p "$docdir"
|
||||
|
||||
# We accept that this might not produce any
|
||||
# output (hence the || true). Depending of
|
||||
# configuration flags, there might just be no
|
||||
# modules to run haddock on. E.g. a package
|
||||
# might turn into an empty one (see the fail
|
||||
# pkg).
|
||||
$SETUP_HS haddock \
|
||||
"--html" \
|
||||
${lib.optionalString doHoogle "--hoogle"} \
|
||||
${lib.optionalString hyperlinkSource "--hyperlink-source"} \
|
||||
${lib.concatStringsSep " " (component.setupHaddockFlags ++ setupGhcOptions)}
|
||||
${lib.concatStringsSep " " (component.setupHaddockFlags ++ setupGhcOptions)} \
|
||||
|| true
|
||||
|
||||
html="dist/doc/html/${componentId.cname}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user