Skip to content
Snippets Groups Projects
Commit 683abab7 authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

Get better cross-package links in the Haddock docs

Building the dependency docs lets Haddock generate links into them.
parent 8887555c
No related branches found
No related tags found
No related merge requests found
...@@ -150,7 +150,7 @@ rec { ...@@ -150,7 +150,7 @@ rec {
text = '' text = ''
set -x set -x
sdist=$(cabal sdist | tail -n 1) sdist=$(cabal sdist | tail -n 1)
haddocks=$(cabal haddock --haddock-for-hackage | tail -n 1) haddocks=$(cabal haddock --enable-doc --haddock-for-hackage | tail -n 1)
cabal upload "$@" "$sdist" cabal upload "$@" "$sdist"
cabal upload "$@" --documentation "$haddocks" cabal upload "$@" --documentation "$haddocks"
''; '';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment