Completed 52 action(s).
Updating Haddock index for local packages and dependencies in
/fw/Wander/Haskell/localdoc/.stack-work/install/x86_64-osx/d8fc80d492dbccc03f7819e69e02743a1433ab59849868e540e0d5de125456e0/8.8.3/doc/all/index.html
Updating Haddock index for snapshot packages in
/Users/cyue/.stack/snapshots/x86_64-osx/d8fc80d492dbccc03f7819e69e02743a1433ab59849868e540e0d5de125456e0/8.8.3/doc/index.html
Built docs.
Starting generate
Reading ghc-pkg... 0.10s
Packages missing documentation: array async atomic-primops attoparsec base base-orphans base64-bytestring binary blaze-builder bytestring Cabal cabal-doctest call-stack case-insensitive clock containers data-default-class deepseq directory entropy exceptions filepath ghc ghc-boot ghc-boot-th ghc-compact ghc-heap ghc-prim ghci hashable haskeline hpc HUnit integer-gmp integer-logarithms io-streams io-streams-haproxy libiserv lifted-base massiv megaparsec monad-control mtl neat-interpolation network network-uri old-locale parsec parser-combinators pretty primitive process QuickCheck random readable regex-base regex-posix repa scheduler scientific SHA snap-core snap-server splitmix stm streaming-commons template-haskell terminfo text time transformers transformers-base transformers-compat unix unix-compat unliftio-core unordered-containers vector websockets xhtml zlib zlib-bindings bytestring-builder localdoc rts
No packages were found, aborting (use no arguments to index all of Stackage)
Received ExitFailure 1 when running
Raw command: /Users/cyue/.stack/snapshots/x86_64-osx/0705cf5328677b3ca6b994df2bec0b467ab169a7cecc47914fc086f43790b63e/8.8.3/bin/hoogle generate --local --database=/fw/Wander/Haskell/localdoc/.stack-work/hoogle/x86_64-osx/d8fc80d492dbccc03f7819e69e02743a1433ab59849868e540e0d5de125456e0/8.8.3/database.hoo
hoogle generate --local ...
doesn't understand ghc-pkg
output anymore since ghc-8.8, anyway found a workaround https://github.com/commercialhaskell/stack/issues/5228#issuecomment-628112759
stack install cabal-install
. But the problem is that cabal-install-3.4.0.0
requires Cabal-3.4.0.0
and cabal-install-3.2.0.0
requires base < 4.14
. So I can't install neither with lts-17.9 snapshot.
@adambergmark_twitter I've managed to install cabal-install by explicitly adding its dependencies to extra-deps:
extra-deps:
- Cabal-3.4.0.0
- cabal-install-3.4.0.0
- random-1.2.0
But this doesn't seem right. I'll go with your suggestion and just add stack.yaml to this project. Thanks for the tip.
ghcup install cabal
btw
stm
's bounds on a recent LTS seem to be incompatible with base
? If I look at LTS 17.10, the page https://www.stackage.org/lts-17.10/package/stm-2.5.0.0 shows that stm
comes from Hackage version 2.5.0.0@rev:1, which specifies base >=4.3 && <4.14
. and yet base
on this snapshot is base-4.14.1.0
.