{"action":"opened","issue":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/765","labels_url":"https://api.github.com/repos/commercialhaskell/stack/issues/765/labels{/name}","comments_url":"https://api.github.com/repos/commercialhaskell/stack/issues/765/comments","events_url":"https://api.github.com/repos/commercialhaskell/stack/issues/765/events","html_url":"https://github.com/commercialhaskell/stack/issues/765","id":100467558,"number":765,"title":"Listing redundant constraints on stack init","user":{"login":"gibiansky","id":1865411,"avatar_url":"https://avatars.githubusercontent.com/u/1865411?v=3","gravatar_id":"","url":"https://api.github.com/users/gibiansky","html_url":"https://github.com/gibiansky","followers_url":"https://api.github.com/users/gibiansky/followers","following_url":"https://api.github.com/users/gibiansky/following{/other_user}","gists_url":"https://api.github.com/users/gibiansky/gists{/gist_id}","starred_url":"https://api.github.com/users/gibiansky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gibiansky/subscriptions","organizations_url":"https://api.github.com/users/gibiansky/orgs","repos_url":"https://api.github.com/users/gibiansky/repos","events_url":"https://api.github.com/users/gibiansky/events{/privacy}","received_events_url":"https://api.github.com/users/gibiansky/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-12T05:07:36Z","updated_at":"2015-08-12T05:07:36Z","closed_at":null,"body":"This may be a duplicate or too minor, but figured I would report it.\r\n\r\n`stack` does not clean up the dependency info when there are multiple executables present, leading to a redundant/confusing error message.\r\n\r\n**Reproduce:** \r\nI downloaded [`brick`](https://github.com/jtdaugherty/brick) and ran `stack init` in the `brick` directory.\r\n\r\n**Result:**\r\n\r\n```\r\n    vty not found\r\n    - brick requires >=5.3.1 && >=5.3.1 && >=5.3.1 && >=5.3.1 && >=5.3.1 && >=5.3.1 && >=5.3.1 && >=5.3.1 && >=5.3.1 && >=5.3.1 && >=5.3.1 && >=5.3.1 && >=5.3.1 && >=5.3.1\r\n```\r\n\r\n**Expected:** \r\nOnly listing `>= 5.3.1` once:\r\n\r\n```\r\n    vty not found\r\n    - brick requires >=5.3.1\r\n```\r\n\r\nThis is likely because the `vty >=5.3.1` constraint exists in multiple executables in the `brick.cabal` file.\r\n"}}