{"action":"created","issue":{"url":"https://api.github.com/repos/gibiansky/IHaskell/issues/491","labels_url":"https://api.github.com/repos/gibiansky/IHaskell/issues/491/labels{/name}","comments_url":"https://api.github.com/repos/gibiansky/IHaskell/issues/491/comments","events_url":"https://api.github.com/repos/gibiansky/IHaskell/issues/491/events","html_url":"https://github.com/gibiansky/IHaskell/issues/491","id":77132566,"number":491,"title":"src/IHaskell/Eval/Evaluate.hs:404:16:","user":{"login":"marmalodak","id":1413467,"avatar_url":"https://avatars.githubusercontent.com/u/1413467?v=3","gravatar_id":"","url":"https://api.github.com/users/marmalodak","html_url":"https://github.com/marmalodak","followers_url":"https://api.github.com/users/marmalodak/followers","following_url":"https://api.github.com/users/marmalodak/following{/other_user}","gists_url":"https://api.github.com/users/marmalodak/gists{/gist_id}","starred_url":"https://api.github.com/users/marmalodak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marmalodak/subscriptions","organizations_url":"https://api.github.com/users/marmalodak/orgs","repos_url":"https://api.github.com/users/marmalodak/repos","events_url":"https://api.github.com/users/marmalodak/events{/privacy}","received_events_url":"https://api.github.com/users/marmalodak/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2015-05-16T21:06:49Z","updated_at":"2015-05-22T22:54:45Z","closed_at":"2015-05-22T22:54:45Z","body":"(ihaskell-venv) [root@qa-notebook zeromq-4.0.5]# PKG_CONFIG_PATH=/e2e/lib/zeromq4/lib/pkgconfig:/e2e/lib/zeromq4/lib/pkgconfig:/usr/share/licenses/pkgconfig:/usr/share/pkgconfig:/usr/share/doc/pkgconfig cabal install ihaskell --extra-lib-dirs=/e2e/lib/zeromq4/lib --extra-include-dirs=/e2e/lib/zeromq4/include\r\n\r\n...\r\n\r\nLoading package MissingH-1.3.0.1 ... linking ... done.\r\n[16 of 18] Compiling IHaskell.Eval.Evaluate ( src/IHaskell/Eval/Evaluate.hs, dist/build/IHaskell/Eval/Evaluate.o )\r\n\r\nsrc/IHaskell/Eval/Evaluate.hs:404:16:\r\n    Couldn't match type `FilePath' with `[Char]'\r\n    Expected type: GHC.IO.FilePath\r\n      Actual type: FilePath\r\n    In the first argument of `writeFile', namely\r\n      `(fpFromString $ directory ++ filename)'\r\n    In a stmt of a 'do' block:\r\n      writeFile (fpFromString $ directory ++ filename) contents\r\n    In the second argument of `($)', namely\r\n      `do { createDirectoryIfMissing True directory;\r\n            writeFile (fpFromString $ directory ++ filename) contents }'\r\n\r\nsrc/IHaskell/Eval/Evaluate.hs:566:40:\r\n    Couldn't match type `FilePath' with `[Char]'\r\n    Expected type: GHC.IO.FilePath\r\n      Actual type: FilePath\r\n    In the return type of a call of `fpFromString'\r\n    In the second argument of `($)', namely `fpFromString filename'\r\n    In a stmt of a 'do' block:\r\n      contents <- readFile $ fpFromString filename\r\nFailed to install ihaskell-0.6.0.0\r\ncabal: Error: some packages failed to install:\r\nihaskell-0.6.0.0 failed during the building phase. The exception was:\r\nExitFailure 1\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/15319609-src-ihaskell-eval-evaluate-hs-404-16?utm_campaign=plugin&utm_content=tracker%2F332399&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F332399&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/gibiansky/IHaskell/issues/comments/104794461","html_url":"https://github.com/gibiansky/IHaskell/issues/491#issuecomment-104794461","issue_url":"https://api.github.com/repos/gibiansky/IHaskell/issues/491","id":104794461,"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},"created_at":"2015-05-22T22:54:45Z","updated_at":"2015-05-22T22:54:45Z","body":"Thanks @sumitsahrawat!"}}