{"action":"created","issue":{"url":"https://api.github.com/repos/snapframework/snap/issues/178","repository_url":"https://api.github.com/repos/snapframework/snap","labels_url":"https://api.github.com/repos/snapframework/snap/issues/178/labels{/name}","comments_url":"https://api.github.com/repos/snapframework/snap/issues/178/comments","events_url":"https://api.github.com/repos/snapframework/snap/issues/178/events","html_url":"https://github.com/snapframework/snap/issues/178","id":169773265,"number":178,"title":"Cabal install failure","user":{"login":"bradleyprice","id":25420,"avatar_url":"https://avatars.githubusercontent.com/u/25420?v=3","gravatar_id":"","url":"https://api.github.com/users/bradleyprice","html_url":"https://github.com/bradleyprice","followers_url":"https://api.github.com/users/bradleyprice/followers","following_url":"https://api.github.com/users/bradleyprice/following{/other_user}","gists_url":"https://api.github.com/users/bradleyprice/gists{/gist_id}","starred_url":"https://api.github.com/users/bradleyprice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradleyprice/subscriptions","organizations_url":"https://api.github.com/users/bradleyprice/orgs","repos_url":"https://api.github.com/users/bradleyprice/repos","events_url":"https://api.github.com/users/bradleyprice/events{/privacy}","received_events_url":"https://api.github.com/users/bradleyprice/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-07T00:30:23Z","updated_at":"2016-08-07T13:39:59Z","closed_at":"2016-08-07T13:39:59Z","body":"Hey,\r\n\r\nI'm having trouble getting Snap installed. I'm completely new to Haskell, so it is highly probable that it's something I'm doing wrong, but it seems that this commit would have fixed the issue I'm experiencing:\r\n\r\nhttps://github.com/snapframework/snap-templates/commit/c0805124bd7b94ff4ec73f063ee0e17e75d4211c\r\n\r\nSpecifically, this part of the commit:\r\n```\r\n -    template-haskell    >= 2.2     && < 2.11,\r\n +    template-haskell    >= 2.2     && < 2.12,\r\n```\r\n\r\nHere's what happens when I try to install Snap:\r\n\r\n```sh\r\n➜  cabal update\r\nDownloading the latest package list from hackage.haskell.org\r\nSkipping download: local and remote files match.\r\n\r\n➜  cabal install snap\r\nResolving dependencies...\r\ncabal: Could not resolve dependencies:\r\ntrying: snap-0.14.0.7 (user goal)\r\ntrying: base-4.9.0.0/installed-4.9... (dependency of snap-0.14.0.7)\r\nnext goal: template-haskell (dependency of snap-0.14.0.7)\r\nrejecting: template-haskell-2.11.0.0/installed-2.1...,\r\ntemplate-haskell-2.11.0.0 (conflict: snap => template-haskell>=2.2 && <2.11)\r\nrejecting: template-haskell-2.10.0.0 (conflict:\r\nbase==4.9.0.0/installed-4.9..., template-haskell => base==4.8.*)\r\nrejecting: template-haskell-2.9.0.0 (conflict: base==4.9.0.0/installed-4.9...,\r\ntemplate-haskell => base==4.7.*)\r\nrejecting: template-haskell-2.8.0.0 (conflict: base==4.9.0.0/installed-4.9...,\r\ntemplate-haskell => base==4.6.*)\r\nrejecting: template-haskell-2.7.0.0 (conflict: base==4.9.0.0/installed-4.9...,\r\ntemplate-haskell => base==4.5.*)\r\nrejecting: template-haskell-2.6.0.0 (conflict: base==4.9.0.0/installed-4.9...,\r\ntemplate-haskell => base==4.4.*)\r\nrejecting: template-haskell-2.5.0.0 (conflict: base==4.9.0.0/installed-4.9...,\r\ntemplate-haskell => base==4.3.*)\r\nrejecting: template-haskell-2.4.0.1 (conflict: base==4.9.0.0/installed-4.9...,\r\ntemplate-haskell => base==4.2.*)\r\nrejecting: template-haskell-2.4.0.0 (conflict: base==4.9.0.0/installed-4.9...,\r\ntemplate-haskell => base>=3 && <4.3)\r\nrejecting: template-haskell-2.3.0.1, template-haskell-2.3.0.0,\r\ntemplate-haskell-2.2.0.0 (conflict: base==4.9.0.0/installed-4.9...,\r\ntemplate-haskell => base<4.3)\r\nDependency tree exhaustively searched.\r\n```\r\n\r\nHere's a little more info on my setup:\r\n\r\n```sh\r\n➜ cabal --version\r\ncabal-install version 1.24.0.0\r\ncompiled using version 1.24.0.0 of the Cabal library\r\n➜  ghc --version\r\nThe Glorious Glasgow Haskell Compilation System, version 8.0.1\r\n➜  ghc-pkg list\r\n/Library/Frameworks/GHC.framework/Versions/8.0.1-x86_64/usr/lib/ghc-8.0.1/package.conf.d\r\n    Cabal-1.24.0.0\r\n    GLURaw-2.0.0.1\r\n    GLUT-2.7.0.7\r\n    HTTP-4000.3.3\r\n    HUnit-1.3.1.1\r\n    ObjectName-1.1.0.1\r\n    OpenGL-3.0.0.2\r\n    OpenGLRaw-3.1.0.0\r\n    QuickCheck-2.8.2\r\n    StateVar-1.1.0.4\r\n    array-0.5.1.1\r\n    async-2.1.0\r\n    attoparsec-0.13.0.2\r\n    base-4.9.0.0\r\n    binary-0.8.3.0\r\n    bytestring-0.10.8.1\r\n    case-insensitive-1.2.0.6\r\n    containers-0.5.7.1\r\n    deepseq-1.4.2.0\r\n    directory-1.2.6.2\r\n    fgl-5.5.2.3\r\n    filepath-1.4.1.0\r\n    fixed-0.2.1.1\r\n    ghc-8.0.1\r\n    ghc-boot-8.0.1\r\n    ghc-boot-th-8.0.1\r\n    ghc-prim-0.5.0.0\r\n    ghci-8.0.1\r\n    half-0.2.2.3\r\n    hashable-1.2.4.0\r\n    haskeline-0.7.2.3\r\n    haskell-src-1.0.2.0\r\n    hoopl-3.10.2.1\r\n    hpc-0.6.0.3\r\n    html-1.0.1.2\r\n    integer-gmp-1.0.0.1\r\n    mtl-2.2.1\r\n    network-2.6.2.1\r\n    network-uri-2.6.1.0\r\n    parallel-3.2.1.0\r\n    parsec-3.1.9\r\n    pretty-1.1.3.3\r\n    primitive-0.6.1.0\r\n    process-1.4.2.0\r\n    random-1.1\r\n    regex-base-0.93.2\r\n    regex-compat-0.95.1\r\n    regex-posix-0.95.2\r\n    rts-1.0\r\n    scientific-0.3.4.6\r\n    split-0.2.3\r\n    stm-2.4.4.1\r\n    syb-0.6\r\n    template-haskell-2.11.0.0\r\n    terminfo-0.4.0.2\r\n    text-1.2.2.1\r\n    tf-random-0.5\r\n    time-1.6.0.1\r\n    transformers-0.5.2.0\r\n    unix-2.7.2.0\r\n    unordered-containers-0.2.7.0\r\n    vector-0.11.0.0\r\n    xhtml-3000.2.1\r\n    zlib-0.6.1.1\r\n```\r\n\r\nAny help would be highly appreciated and thanks in advance!"},"comment":{"url":"https://api.github.com/repos/snapframework/snap/issues/comments/238082949","html_url":"https://github.com/snapframework/snap/issues/178#issuecomment-238082949","issue_url":"https://api.github.com/repos/snapframework/snap/issues/178","id":238082949,"user":{"login":"mightybyte","id":9451,"avatar_url":"https://avatars.githubusercontent.com/u/9451?v=3","gravatar_id":"","url":"https://api.github.com/users/mightybyte","html_url":"https://github.com/mightybyte","followers_url":"https://api.github.com/users/mightybyte/followers","following_url":"https://api.github.com/users/mightybyte/following{/other_user}","gists_url":"https://api.github.com/users/mightybyte/gists{/gist_id}","starred_url":"https://api.github.com/users/mightybyte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mightybyte/subscriptions","organizations_url":"https://api.github.com/users/mightybyte/orgs","repos_url":"https://api.github.com/users/mightybyte/repos","events_url":"https://api.github.com/users/mightybyte/events{/privacy}","received_events_url":"https://api.github.com/users/mightybyte/received_events","type":"User","site_admin":false},"created_at":"2016-08-07T13:39:59Z","updated_at":"2016-08-07T13:39:59Z","body":"This is because the latest Snap on hackage doesn't support GHC 8 yet.  See https://github.com/snapframework/snap/issues/140#issuecomment-229137176.  We're working on it right now, so give us a few hours and it we should have it fixed."}}
{"actor":{"display_login":"mightybyte"}}