{"action":"created","issue":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/420","labels_url":"https://api.github.com/repos/commercialhaskell/stack/issues/420/labels{/name}","comments_url":"https://api.github.com/repos/commercialhaskell/stack/issues/420/comments","events_url":"https://api.github.com/repos/commercialhaskell/stack/issues/420/events","html_url":"https://github.com/commercialhaskell/stack/issues/420","id":91121803,"number":420,"title":"Nested stack exec getting confused","user":{"login":"3noch","id":882455,"avatar_url":"https://avatars.githubusercontent.com/u/882455?v=3","gravatar_id":"","url":"https://api.github.com/users/3noch","html_url":"https://github.com/3noch","followers_url":"https://api.github.com/users/3noch/followers","following_url":"https://api.github.com/users/3noch/following{/other_user}","gists_url":"https://api.github.com/users/3noch/gists{/gist_id}","starred_url":"https://api.github.com/users/3noch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3noch/subscriptions","organizations_url":"https://api.github.com/users/3noch/orgs","repos_url":"https://api.github.com/users/3noch/repos","events_url":"https://api.github.com/users/3noch/events{/privacy}","received_events_url":"https://api.github.com/users/3noch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-06-26T01:36:46Z","updated_at":"2015-06-26T04:24:28Z","closed_at":null,"body":"On Windows 8.1 64-bit with resolver of LTS-2.14.\r\n```\r\n> stack --version\r\nVersion 0.1.0.0, Git revision d0129beb8d241b65c429708971dcc01529b8b622\r\n\r\n> stack --arch=i386 exec -- stack --arch=x86_64 exec -- which ghc\r\nGHC version mismatched, found 7.8.4 (i386), but expected version 7.8.4 (x86_64) (based on resolver setting in C:\\Code\\windows-client\\stack.yaml). Try running stack setup\r\n```\r\n\r\nI would expect that the inner `arch` override would win out.\r\n\r\nEDIT: My original message made no sense. Be sure you read it as it is now."},"comment":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/comments/115496700","html_url":"https://github.com/commercialhaskell/stack/issues/420#issuecomment-115496700","issue_url":"https://api.github.com/repos/commercialhaskell/stack/issues/420","id":115496700,"user":{"login":"3noch","id":882455,"avatar_url":"https://avatars.githubusercontent.com/u/882455?v=3","gravatar_id":"","url":"https://api.github.com/users/3noch","html_url":"https://github.com/3noch","followers_url":"https://api.github.com/users/3noch/followers","following_url":"https://api.github.com/users/3noch/following{/other_user}","gists_url":"https://api.github.com/users/3noch/gists{/gist_id}","starred_url":"https://api.github.com/users/3noch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3noch/subscriptions","organizations_url":"https://api.github.com/users/3noch/orgs","repos_url":"https://api.github.com/users/3noch/repos","events_url":"https://api.github.com/users/3noch/events{/privacy}","received_events_url":"https://api.github.com/users/3noch/received_events","type":"User","site_admin":false},"created_at":"2015-06-26T04:24:28Z","updated_at":"2015-06-26T04:24:28Z","body":"Looking at only one makes sense, I think, as long as it's the one with highest precedent. I would imagine that each nesting of `stack --arch=X exec -- ...` would \"stack\" (pun intended) the right architecture of GHC paths onto the top of the `PATH`. Is that right? So if the \"stacking\" is being done right, I would guess that would not be a problem?"}}