-
Notifications
You must be signed in to change notification settings - Fork 721
Closed
Labels
cabal-install: v2-build systemAffecting v2-build and related commands that use v2-architecture (aka "nix local builds").Affecting v2-build and related commands that use v2-architecture (aka "nix local builds").type: enhancement
Description
Unit tests and haddock break when the cabal flags --enable-tests, --enable-documentation are off, which is the default behavior unfortunately. I think --enable-tests should be on by default when running cabal install against a local *.cabal development package, and --enable-documentation should generally be on by default, in order to fix haddock.
As a workaround, I am explicitly supplying --enable-tests to my local cabal install runs against *.cabal files; and doing a lot of ghc-check ... cabal install --force-reinstalls --enable-documentation... to fix haddock for the dependency packages that were already installed.
Metadata
Metadata
Assignees
Labels
cabal-install: v2-build systemAffecting v2-build and related commands that use v2-architecture (aka "nix local builds").Affecting v2-build and related commands that use v2-architecture (aka "nix local builds").type: enhancement