{"action":"created","issue":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/1731","repository_url":"https://api.github.com/repos/commercialhaskell/stack","labels_url":"https://api.github.com/repos/commercialhaskell/stack/issues/1731/labels{/name}","comments_url":"https://api.github.com/repos/commercialhaskell/stack/issues/1731/comments","events_url":"https://api.github.com/repos/commercialhaskell/stack/issues/1731/events","html_url":"https://github.com/commercialhaskell/stack/issues/1731","id":130885583,"number":1731,"title":"`stack --work-dir` fails with directories above the current directory","user":{"login":"acfoltzer","id":205266,"avatar_url":"https://avatars.githubusercontent.com/u/205266?v=3","gravatar_id":"","url":"https://api.github.com/users/acfoltzer","html_url":"https://github.com/acfoltzer","followers_url":"https://api.github.com/users/acfoltzer/followers","following_url":"https://api.github.com/users/acfoltzer/following{/other_user}","gists_url":"https://api.github.com/users/acfoltzer/gists{/gist_id}","starred_url":"https://api.github.com/users/acfoltzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acfoltzer/subscriptions","organizations_url":"https://api.github.com/users/acfoltzer/orgs","repos_url":"https://api.github.com/users/acfoltzer/repos","events_url":"https://api.github.com/users/acfoltzer/events{/privacy}","received_events_url":"https://api.github.com/users/acfoltzer/received_events","type":"User","site_admin":false},"labels":[{"id":233400605,"url":"https://api.github.com/repos/commercialhaskell/stack/labels/awaiting%20pr","name":"awaiting pr","color":"fef2c0","default":false},{"id":205827133,"url":"https://api.github.com/repos/commercialhaskell/stack/labels/type:%20enhancement","name":"type: enhancement","color":"fad8c7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/commercialhaskell/stack/milestones/1","html_url":"https://github.com/commercialhaskell/stack/milestones/P3:%20Optional","labels_url":"https://api.github.com/repos/commercialhaskell/stack/milestones/1/labels","id":1111900,"number":1,"title":"P3: Optional","description":"Arbitrary date chosen, just to get the milestones to order nicely","creator":{"login":"snoyberg","id":49415,"avatar_url":"https://avatars.githubusercontent.com/u/49415?v=3","gravatar_id":"","url":"https://api.github.com/users/snoyberg","html_url":"https://github.com/snoyberg","followers_url":"https://api.github.com/users/snoyberg/followers","following_url":"https://api.github.com/users/snoyberg/following{/other_user}","gists_url":"https://api.github.com/users/snoyberg/gists{/gist_id}","starred_url":"https://api.github.com/users/snoyberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snoyberg/subscriptions","organizations_url":"https://api.github.com/users/snoyberg/orgs","repos_url":"https://api.github.com/users/snoyberg/repos","events_url":"https://api.github.com/users/snoyberg/events{/privacy}","received_events_url":"https://api.github.com/users/snoyberg/received_events","type":"User","site_admin":false},"open_issues":188,"closed_issues":128,"state":"open","created_at":"2015-05-15T10:03:10Z","updated_at":"2016-11-09T11:24:29Z","due_on":"2017-01-31T08:00:00Z","closed_at":null},"comments":13,"created_at":"2016-02-03T01:57:04Z","updated_at":"2016-11-10T11:49:07Z","closed_at":null,"body":"#### Steps to reproduce:\n1. In any stack project with a parent directory, run `stack build --work-dir=../.stack-work`\n#### Expected:\n\nThe build proceeds using the `.stack-work` directory of the parent directory\n#### Actual:\n\nStack errors out with\n\n```\nInvalidRelDir \"../../.stack-work\"\n```\n\n---\n\nSeems like this ought to work, right?\n"},"comment":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/comments/259670880","html_url":"https://github.com/commercialhaskell/stack/issues/1731#issuecomment-259670880","issue_url":"https://api.github.com/repos/commercialhaskell/stack/issues/1731","id":259670880,"user":{"login":"phadej","id":51087,"avatar_url":"https://avatars.githubusercontent.com/u/51087?v=3","gravatar_id":"","url":"https://api.github.com/users/phadej","html_url":"https://github.com/phadej","followers_url":"https://api.github.com/users/phadej/followers","following_url":"https://api.github.com/users/phadej/following{/other_user}","gists_url":"https://api.github.com/users/phadej/gists{/gist_id}","starred_url":"https://api.github.com/users/phadej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phadej/subscriptions","organizations_url":"https://api.github.com/users/phadej/orgs","repos_url":"https://api.github.com/users/phadej/repos","events_url":"https://api.github.com/users/phadej/events{/privacy}","received_events_url":"https://api.github.com/users/phadej/received_events","type":"User","site_admin":false},"created_at":"2016-11-10T11:49:07Z","updated_at":"2016-11-10T11:49:07Z","body":"@mfine `<\\\\>` doesn't make much sense.\r\n\r\nWhat if the project has multiple packages, but I want to have single `.stack-work` (outside the source tree)!"}}
{"actor":{"display_login":"phadej"}}