-
Notifications
You must be signed in to change notification settings - Fork 849
Closed
Description
Obviously some code is being shared between stack init --solver
and stack solver
, but the latter doesn't have an --omit-packages
flag. Still, I'm seeing this error message:
$ stack solver [mitchell@arch]
Using configuration file: stack.yaml
Using cabal packages:
- haddock.cabal
- haddock-api/haddock-api.cabal
- haddock-library/haddock-library.cabal
- haddock-test/haddock-test.cabal
Resolver 'lts-5.12' does not have a matching compiler to build some or all of your package(s).
ghc-7.10.3 cannot be used for these packages:
- haddock-api
ghc version 7.10.3 found
- haddock-api requires >=8.0 && <8.2
However, you can try '--omit-packages to exclude mismatching package(s).
$ stack solver --omit-packages 1 [mitchell@arch]
Invalid option `--omit-packages'
Usage: stack solver [--[no-]update-config] [--help]
Use a dependency solver to try and determine missing extra-deps