{"action":"created","issue":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/2539","repository_url":"https://api.github.com/repos/commercialhaskell/stack","labels_url":"https://api.github.com/repos/commercialhaskell/stack/issues/2539/labels{/name}","comments_url":"https://api.github.com/repos/commercialhaskell/stack/issues/2539/comments","events_url":"https://api.github.com/repos/commercialhaskell/stack/issues/2539/events","html_url":"https://github.com/commercialhaskell/stack/issues/2539","id":173698036,"number":2539,"title":"package indirectly depends on multiple versions of the same package.","user":{"login":"JakeEhrlich","id":3759135,"avatar_url":"https://avatars.githubusercontent.com/u/3759135?v=3","gravatar_id":"","url":"https://api.github.com/users/JakeEhrlich","html_url":"https://github.com/JakeEhrlich","followers_url":"https://api.github.com/users/JakeEhrlich/followers","following_url":"https://api.github.com/users/JakeEhrlich/following{/other_user}","gists_url":"https://api.github.com/users/JakeEhrlich/gists{/gist_id}","starred_url":"https://api.github.com/users/JakeEhrlich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JakeEhrlich/subscriptions","organizations_url":"https://api.github.com/users/JakeEhrlich/orgs","repos_url":"https://api.github.com/users/JakeEhrlich/repos","events_url":"https://api.github.com/users/JakeEhrlich/events{/privacy}","received_events_url":"https://api.github.com/users/JakeEhrlich/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/commercialhaskell/stack/labels/need%20confirmation","name":"need confirmation","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-29T05:19:41Z","updated_at":"2016-09-26T03:52:15Z","closed_at":null,"body":"I'm getting a conflict where two copies of deepseq are being requested by different dependencies and it isn't being resolved.\r\n\r\n### Steps to reproduce\r\n1. make a new stack project\r\n2. include the following in your extra-deps\r\n- ansi-wl-pprint-0.6.7.3\r\n- megaparsec-5.0.1\r\n- ghc-prim-0.4.0.0\r\n3. include the following in your cabal build-depends\r\nbase >= 4.7 && < 5,\r\nmegaparsec >= 5.0.1,\r\nansi-wl-pprint >= 0.6.7.0,\r\nghc-prim >= 0.4.0.0\r\n\r\n### Expected\r\nLib and Main to compile without error\r\n\r\n### Actual\r\n\r\n```\r\n$ stack build --verbose\r\n```\r\n\r\nI get the following: https://gist.github.com/JakeEhrlich/3f55c2bd5bcadf529d159fb29b9b1206\r\n\r\n### Stack version\r\n\r\n```\r\n$ stack --version\r\nVersion 1.1.2, Git revision cebe10e845fed4420b6224d97dcabf20477bbd4b (3646 commits) x86_64 hpack-0.14.0\r\n```\r\n\r\n### Method of installation\r\n\r\nInstalled via `haskell-stack-tool` from the Arch Haskell haskell-core repo: https://wiki.archlinux.org/index.php/ArchHaskell\r\n"},"comment":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/comments/249474084","html_url":"https://github.com/commercialhaskell/stack/issues/2539#issuecomment-249474084","issue_url":"https://api.github.com/repos/commercialhaskell/stack/issues/2539","id":249474084,"user":{"login":"mgsloan","id":22570,"avatar_url":"https://avatars.githubusercontent.com/u/22570?v=3","gravatar_id":"","url":"https://api.github.com/users/mgsloan","html_url":"https://github.com/mgsloan","followers_url":"https://api.github.com/users/mgsloan/followers","following_url":"https://api.github.com/users/mgsloan/following{/other_user}","gists_url":"https://api.github.com/users/mgsloan/gists{/gist_id}","starred_url":"https://api.github.com/users/mgsloan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgsloan/subscriptions","organizations_url":"https://api.github.com/users/mgsloan/orgs","repos_url":"https://api.github.com/users/mgsloan/repos","events_url":"https://api.github.com/users/mgsloan/events{/privacy}","received_events_url":"https://api.github.com/users/mgsloan/received_events","type":"User","site_admin":false},"created_at":"2016-09-26T03:52:15Z","updated_at":"2016-09-26T03:52:15Z","body":"Does putting `system-ghc: false` in your `config.yaml` cause ghc to need to be installed?  If so, consider running stack setup to get a fresh GHC.  I don't have a link to the relevant discussion, but I recall that GHC's usage of GHC_PACKAGE_PATH is not quite as documented / expected, causing issues like this."}}
{"actor":{"display_login":"mgsloan"}}