{"action":"created","issue":{"url":"https://api.github.com/repos/haskell/cabal/issues/2512","labels_url":"https://api.github.com/repos/haskell/cabal/issues/2512/labels{/name}","comments_url":"https://api.github.com/repos/haskell/cabal/issues/2512/comments","events_url":"https://api.github.com/repos/haskell/cabal/issues/2512/events","html_url":"https://github.com/haskell/cabal/pull/2512","id":65294474,"number":2512,"title":"Propose code for supporting haddock response files","user":{"login":"randen","id":7789280,"avatar_url":"https://avatars.githubusercontent.com/u/7789280?v=3","gravatar_id":"","url":"https://api.github.com/users/randen","html_url":"https://github.com/randen","followers_url":"https://api.github.com/users/randen/followers","following_url":"https://api.github.com/users/randen/following{/other_user}","gists_url":"https://api.github.com/users/randen/gists{/gist_id}","starred_url":"https://api.github.com/users/randen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/randen/subscriptions","organizations_url":"https://api.github.com/users/randen/orgs","repos_url":"https://api.github.com/users/randen/repos","events_url":"https://api.github.com/users/randen/events{/privacy}","received_events_url":"https://api.github.com/users/randen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-03-30T20:22:24Z","updated_at":"2015-03-31T05:41:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/haskell/cabal/pulls/2512","html_url":"https://github.com/haskell/cabal/pull/2512","diff_url":"https://github.com/haskell/cabal/pull/2512.diff","patch_url":"https://github.com/haskell/cabal/pull/2512.patch"},"body":"Ref: haskell/cabal#1681 and haskell/haddock#285\r\n(but also see haskell/haddock#379)\r\n\r\nThis change is just a proposal (but I am using it in my build\r\nfor the Haskell Platform 2015.2.0.0 on Windows) for adding\r\nthe ehancement to support haddock response files.  (One\r\nmystery I have is where some additional arguments are\r\npossibly still being added to the command line, based on\r\nthe verbose level 2 output, which might simply be a logging\r\nerror that prints some arguments more than once.)\r\n\r\nModified:\r\n\r\n* Cabal/Distribution/Simple/Haddock.hs\r\n  * renderArgs function: I put a couple of things into locals\r\n    since I needed another use for UTF8 support check, plus I\r\n    added another check based on version; the temp file logic\r\n    was just as the prologue case above but I did need to\r\n    repeat the invocation of the 'k' function in order to\r\n    keep the cases separate and allow proper handling of the\r\n    temp file automatic (or not, per --keep-temp-files)\r\n    deletion.  Important: the haddock version being check\r\n    against for response file support, greater than 2.16.0,\r\n    is a placeholder and may or may not be the actual value\r\n    since that will depend on the as-yet-unreleased haddock\r\n    (which looks like it may be 2.16.1 but at this moment is\r\n    not released)."},"comment":{"url":"https://api.github.com/repos/haskell/cabal/issues/comments/87945623","html_url":"https://github.com/haskell/cabal/pull/2512#issuecomment-87945623","issue_url":"https://api.github.com/repos/haskell/cabal/issues/2512","id":87945623,"user":{"login":"23Skidoo","id":47439,"avatar_url":"https://avatars.githubusercontent.com/u/47439?v=3","gravatar_id":"","url":"https://api.github.com/users/23Skidoo","html_url":"https://github.com/23Skidoo","followers_url":"https://api.github.com/users/23Skidoo/followers","following_url":"https://api.github.com/users/23Skidoo/following{/other_user}","gists_url":"https://api.github.com/users/23Skidoo/gists{/gist_id}","starred_url":"https://api.github.com/users/23Skidoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/23Skidoo/subscriptions","organizations_url":"https://api.github.com/users/23Skidoo/orgs","repos_url":"https://api.github.com/users/23Skidoo/repos","events_url":"https://api.github.com/users/23Skidoo/events{/privacy}","received_events_url":"https://api.github.com/users/23Skidoo/received_events","type":"User","site_admin":false},"created_at":"2015-03-31T05:41:59Z","updated_at":"2015-03-31T05:41:59Z","body":"Can you show the full output of `haddock -v3` with your patch (e.g. as a gist)? I just tried something similar and couldn't reproduce this issue."}}