Skip to content

-haddock flag blocks building cabal-install (ghc 8.6.3 cabal-install 2.4 upgrading to 2.4.1) #5827

@cartazio

Description

@cartazio

main/Main.hs:596:5: error:
parse error on input ‘-- $ cabal sandbox init && cabal configure -w /path/to/ghc
-- && cabal build && cabal install
--
-- performs the compilation twice unless you also pass -w to 'install'.
-- However, this is the same behaviour that 'cabal install' has in the normal
-- mode of operation, so we stick to it for consistency.’
|
596 | -- $ cabal sandbox init && cabal configure -w /path/to/ghc
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
cabal: Leaving directory '/var/folders/td/m25lmrxj68sdkwfjpnnqm6640000gn/T/cabal-tmp-37980/cabal-install-2.4.1.0'
Updating documentation index
/Users/carter/.cabal/share/doc/x86_64-osx-ghc-8.6.3/index.html
cabal: Error: some packages failed to install:
cabal-install-2.4.1.0-Hxe8KokzbCy4KNRkdNXXwX failed during the building phase.
The exception was:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions