Skip to content

Instantly share code, notes, and snippets.

@vilem-ff
Created April 20, 2020 15:37
Show Gist options
  • Save vilem-ff/0bd6c195829ec4e853b35fa3967e253d to your computer and use it in GitHub Desktop.
Save vilem-ff/0bd6c195829ec4e853b35fa3967e253d to your computer and use it in GitHub Desktop.
$ cat 15185.cabal
name: t15185
version: 0

allow-newer:
  Cabal,
  base,
  ghc,
  ghc-prim,
  template-haskell,
  time

constraints:
  Cabal ==2.4.1.0,
  Decimal ==0.5.1,
  EdisonAPI ==1.3.1,
  EdisonCore ==1.3.2.1,
  FPretty ==1.1,
  HTTP ==4000.3.14,
  active ==0.2.0.14,
  aivika ==5.9,
  aivika-transformers ==5.9,
  alex ==3.2.5,
  arith-encode ==1.0.2,
  atomic-primops ==0.8.3,
  basement ==0.0.11,
  bzlib ==0.5.0.5,
  cassava ==0.5.2.0,
  chaselev-deque ==0.5.0.5,
  combinat ==0.2.9.0,
  cql ==4.0.2,
  critbit ==0.2.0.0,
  data-r-tree ==0.6.0,
  dbus ==1.2.13,
  doctest ==0.16.3,
  enumeration ==0.2.0,
  extra ==1.7.1,
  fclabels ==2.0.4,
  free-algebras ==0.0.8.1,
  hmatrix ==0.20.0.0,
  hxt ==9.3.1.18,
  hxt-regex-xmlschema ==9.2.0.3,
  inspection-testing ==0.4.2.4,
  io-choice ==0.0.7,
  iproute ==1.7.9,
  kind-generics ==0.4.0.0,
  language-docker ==8.0.2,
  language-haskell-extract ==0.2.4,
  lens ==4.18.1,
  lens-family-th ==0.5.0.2,
  memory ==0.15.0,
  microlens ==0.4.11.2,
  monadplus ==1.4.2,
  mustache ==2.3.1,
  obdd ==0.8.2,
  optics-core ==0.2,
  packman ==0.5.0,
  pandoc ==2.9.2.1,
  parameterized-utils ==2.0.2,
  product-profunctors ==0.10.0.0,
  proto3-wire ==1.1.0,
  regex-base ==0.94.0.0,
  regex-compat ==0.95.2.0,
  row-types ==0.3.1.0,
  shakespeare ==2.0.24,
  store-core ==0.4.4.2,
  tpdb ==2.2.0,
  trivial-constraint ==0.6.0.0,
  true-name ==0.1.0.3,
  typenums ==0.1.2.1,
  vinyl ==0.12.1,
  witness ==0.4,
  xlsx ==0.8.0

$ cat cabal.project.local 
repository head.hackage.ghc.haskell.org
   url: https://ghc.gitlab.haskell.org/head.hackage/
   secure: True
   key-threshold: 3
   root-keys:
       f76d08be13e9a61a377a85e2fb63f4c5435d40f8feb3e12eb05905edb8cdea89
       7541f32a4ccca4f97aea3b22f5e593ba2c0267546016b992dfadcd2fe944e55d
       26021a13b401500c8eb2761ca95c61f2d625bfef951b939a8124ed12ecf07329

$ cabal install --with-compiler (pwd)/_build/stage1/bin/ghc criterion
cabal: Could not resolve dependencies:
[__0] trying: ghc-8.11.0.20200412 (user goal)
[__1] next goal: base (dependency of ghc)
[__1] rejecting: base-4.14.0.0/installed-4.14.0.0 (package is broken)
[__1] rejecting: base-4.12.0.0, base-4.11.1.0, base-4.11.0.0, base-4.10.1.0,
base-4.10.0.0, base-4.9.1.0, base-4.9.0.0, base-4.8.2.0, base-4.8.1.0,
base-4.8.0.0, base-4.7.0.2, base-4.7.0.1, base-4.7.0.0, base-4.6.0.1,
base-4.6.0.0, base-4.5.1.0, base-4.5.0.0, base-4.4.1.0, base-4.4.0.0,
base-4.3.1.0, base-4.3.0.0, base-4.2.0.2, base-4.2.0.1, base-4.2.0.0,
base-4.1.0.0, base-4.0.0.0, base-3.0.3.2, base-3.0.3.1 (constraint from
non-upgradeable package requires installed instance)
[__1] fail (backjumping, conflict set: base, ghc)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: base, ghc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment