Skip to content

Instantly share code, notes, and snippets.

@ChristopherKing42
Created February 29, 2016 20:43
Show Gist options
  • Select an option

  • Save ChristopherKing42/23f416389bfd7259a5f5 to your computer and use it in GitHub Desktop.

Select an option

Save ChristopherKing42/23f416389bfd7259a5f5 to your computer and use it in GitHub Desktop.
Using cabal packages:
- haste-compiler.cabal
- libraries/haste-prim/haste-prim.cabal
- libraries/ghc-7.10/base/base.cabal
- libraries/ghc-7.10/array/array.cabal
- libraries/ghc-7.10/ghc-prim/ghc-prim.cabal
- libraries/ghc-7.10/integer-gmp/integer-gmp.cabal
- libraries/haste-lib/haste-lib.cabal
- libraries/ghc-7.8/base/base.cabal
- libraries/ghc-7.8/array/array.cabal
- libraries/ghc-7.8/ghc-prim/ghc-prim.cabal
- libraries/ghc-7.8/integer-gmp/integer-gmp.cabal
- libraries/time/time.cabal
Following packages have duplicate package names:
- libraries/ghc-7.10/array/array.cabal
- libraries/ghc-7.8/array/array.cabal
- libraries/ghc-7.10/base/base.cabal
- libraries/ghc-7.8/base/base.cabal
- libraries/ghc-7.10/ghc-prim/ghc-prim.cabal
- libraries/ghc-7.8/ghc-prim/ghc-prim.cabal
- libraries/ghc-7.10/integer-gmp/integer-gmp.cabal
- libraries/ghc-7.8/integer-gmp/integer-gmp.cabal
Packages with duplicate names will be ignored.
Packages in upper level directories will be preferred.
Selecting the best among 7 snapshots...
* Rejected lts-5.5
ghc-7.10.3 cannot be used for these packages:
- base
- ghc-prim
rts not found
- base requires ==1.0.*
- ghc-prim requires ==1.0.*
Using package flags:
- base: integer-gmp = False, integer-gmp2 = False, integer-simple = False
- ghc-prim: include-ghc-prim = False
* Rejected nightly-2016-02-29
ghc-7.10.3 cannot be used for these packages:
- base
- ghc-prim
rts not found
- base requires ==1.0.*
- ghc-prim requires ==1.0.*
Using package flags:
- base: integer-gmp = False, integer-gmp2 = False, integer-simple = False
- ghc-prim: include-ghc-prim = False
* Rejected lts-4.2
ghc-7.10.3 cannot be used for these packages:
- base
- ghc-prim
rts not found
- base requires ==1.0.*
- ghc-prim requires ==1.0.*
Using package flags:
- base: integer-gmp = False, integer-gmp2 = False, integer-simple = False
- ghc-prim: include-ghc-prim = False
* Rejected lts-3.22
ghc-7.10.2 cannot be used for these packages:
- base
- ghc-prim
rts not found
- base requires ==1.0.*
- ghc-prim requires ==1.0.*
Using package flags:
- base: integer-gmp = False, integer-gmp2 = False, integer-simple = False
- ghc-prim: include-ghc-prim = False
* Partially matches lts-2.22
containers version 0.5.5.1 found
- haste-lib requires >0.5.6 && <0.5.7
ghc-simple not found
- haste-compiler requires >=0.3 && <0.4
shellmate not found
- haste-compiler requires >=0.2.3 && <0.3
Using package flags:
- haste-compiler: only-library = False, portable = False, static = False
* Partially matches lts-1.15
containers version 0.5.5.1 found
- haste-lib requires >0.5.6 && <0.5.7
ghc-simple not found
- haste-compiler requires >=0.3 && <0.4
shellmate not found
- haste-compiler requires >=0.2.3 && <0.3
Using package flags:
- haste-compiler: only-library = False, portable = False, static = False
* Partially matches lts-0.7
containers version 0.5.5.1 found
- haste-lib requires >0.5.6 && <0.5.7
ghc-simple not found
- haste-compiler requires >=0.3 && <0.4
network version 2.5.0.0 found
- haste-compiler requires >=2.6
network-uri version 2.5.0.0 found
- haste-compiler requires >=2.6
shellmate not found
- haste-compiler requires >=0.2.3 && <0.3
Using package flags:
- haste-compiler: only-library = False, portable = False, static = False
Selected resolver: lts-2.22
*** Resolver lts-2.22 will need external packages:
containers version 0.5.5.1 found
- haste-lib requires >0.5.6 && <0.5.7
ghc-simple not found
- haste-compiler requires >=0.3 && <0.4
shellmate not found
- haste-compiler requires >=0.2.3 && <0.3
Using package flags:
- haste-compiler: only-library = False, portable = False, static = False
Using resolver: lts-2.22
Using compiler: ghc-7.8.4
Asking cabal to calculate a build plan...
Trying with packages from lts-2.22 as hard constraints...
Attempt failed.
>>>> Cabal errors begin
cabal: Could not resolve dependencies:
next goal: base (user goal)
rejecting: base-4.8.2.0, 4.8.1.0 (global constraint requires ==4.8.0.0)
rejecting: base-4.8.0.0 (only already installed instances can be used)
rejecting: base-4.7.0.2/installed-bfd..., 4.7.0.2, 4.7.0.1, 4.7.0.0, 4.6.0.1,
4.6.0.0, 4.5.1.0, 4.5.0.0, 4.4.1.0, 4.4.0.0, 4.3.1.0, 4.3.0.0, 4.2.0.2,
4.2.0.1, 4.2.0.0, 4.1.0.0, 4.0.0.0, 3.0.3.2, 3.0.3.1 (global constraint
requires ==4.8.0.0)
Dependency tree exhaustively searched.
<<<< Cabal errors end
Retrying with packages from lts-2.22 as preferences...
Attempt failed.
>>>> Cabal errors begin
cabal: Could not resolve dependencies:
next goal: base (user goal)
rejecting: base-4.8.2.0, 4.8.1.0 (global constraint requires ==4.8.0.0)
rejecting: base-4.8.0.0 (only already installed instances can be used)
rejecting: base-4.7.0.2/installed-bfd..., 4.7.0.2, 4.7.0.1, 4.7.0.0, 4.6.0.1,
4.6.0.0, 4.5.1.0, 4.5.0.0, 4.4.1.0, 4.4.0.0, 4.3.1.0, 4.3.0.0, 4.2.0.2,
4.2.0.1, 4.2.0.0, 4.1.0.0, 4.0.0.0, 3.0.3.2, 3.0.3.1 (global constraint
requires ==4.8.0.0)
Dependency tree exhaustively searched.
<<<< Cabal errors end
*** Failed to arrive at a workable build plan.
Solver could not resolve package dependencies.
You can try the following:
- Use '--omit-packages to exclude conflicting package(s).
- Tweak the generated stack.yaml and then run 'stack solver':
- Add any missing remote packages.
- Add extra dependencies to guide solver.
- Update external packages with 'stack update' and try again.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment