{"action":"created","issue":{"url":"https://api.github.com/repos/reflex-frp/reflex-platform/issues/4","repository_url":"https://api.github.com/repos/reflex-frp/reflex-platform","labels_url":"https://api.github.com/repos/reflex-frp/reflex-platform/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/reflex-frp/reflex-platform/issues/4/comments","events_url":"https://api.github.com/repos/reflex-frp/reflex-platform/issues/4/events","html_url":"https://github.com/reflex-frp/reflex-platform/issues/4","id":67922402,"node_id":"MDU6SXNzdWU2NzkyMjQwMg==","number":4,"title":"Installing additional Haskell packages? Use newer ghc?","user":{"login":"alltom","id":1678,"node_id":"MDQ6VXNlcjE2Nzg=","avatar_url":"https://avatars0.githubusercontent.com/u/1678?v=4","gravatar_id":"","url":"https://api.github.com/users/alltom","html_url":"https://github.com/alltom","followers_url":"https://api.github.com/users/alltom/followers","following_url":"https://api.github.com/users/alltom/following{/other_user}","gists_url":"https://api.github.com/users/alltom/gists{/gist_id}","starred_url":"https://api.github.com/users/alltom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alltom/subscriptions","organizations_url":"https://api.github.com/users/alltom/orgs","repos_url":"https://api.github.com/users/alltom/repos","events_url":"https://api.github.com/users/alltom/events{/privacy}","received_events_url":"https://api.github.com/users/alltom/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2015-04-12T14:34:35Z","updated_at":"2018-11-26T20:00:16Z","closed_at":"2018-11-26T20:00:16Z","author_association":"NONE","body":"Questions:\n1. Should I build new reflex-dom sites from the try-reflex shell?\n2. If so, how do I install packages in the try-reflex shell, and install a newer Haskell version?\n\nI want to create a site with reflex-dom, so I went through this try-reflex tutorial. My page builds with `ghcjs --make` just fine. Now I'd like to use a new library, [HaskellForMaths](https://hackage.haskell.org/package/HaskellForMaths).\n\nThere's no `cabal` in the try-reflex, as [HACKING.md](https://github.com/ryantrinkle/try-reflex/blob/master/HACKING.md) states. It seems like reflect's dependencies are installed by specifying them in [reflex/default.nix](https://github.com/ryantrinkle/reflex/blob/master/default.nix), so I added `HaskellForMaths` to the list at the top and under `buildDepends`. Running `./try-reflex` attempts to install HaskellForMaths, but it fails with:\n\n```\nMath/Algebras/VectorSpace.hs:54:34:\n    Ambiguous occurrence ‘*>’\n    It could refer to either ‘Math.Algebras.VectorSpace.*>’,\n                             defined at Math/Algebras/VectorSpace.hs:101:1\n                          or ‘Prelude.*>’,\n                             imported from ‘Prelude’ at Math/Algebras/VectorSpace.hs:7:8-32\n                             (and originally defined in ‘GHC.Base’)\n```\n\nSince it builds outside the try-reflex shell under cabal 1.22.2.0 and ghc 7.8.1, I think maybe I need a newer version of ghc in the try-reflex shell? But I can't figure out where to specify one.\n"},"comment":{"url":"https://api.github.com/repos/reflex-frp/reflex-platform/issues/comments/441777391","html_url":"https://github.com/reflex-frp/reflex-platform/issues/4#issuecomment-441777391","issue_url":"https://api.github.com/repos/reflex-frp/reflex-platform/issues/4","id":441777391,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MTc3NzM5MQ==","user":{"login":"luigy","id":817138,"node_id":"MDQ6VXNlcjgxNzEzOA==","avatar_url":"https://avatars2.githubusercontent.com/u/817138?v=4","gravatar_id":"","url":"https://api.github.com/users/luigy","html_url":"https://github.com/luigy","followers_url":"https://api.github.com/users/luigy/followers","following_url":"https://api.github.com/users/luigy/following{/other_user}","gists_url":"https://api.github.com/users/luigy/gists{/gist_id}","starred_url":"https://api.github.com/users/luigy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luigy/subscriptions","organizations_url":"https://api.github.com/users/luigy/orgs","repos_url":"https://api.github.com/users/luigy/repos","events_url":"https://api.github.com/users/luigy/events{/privacy}","received_events_url":"https://api.github.com/users/luigy/received_events","type":"User","site_admin":false},"created_at":"2018-11-26T20:00:16Z","updated_at":"2018-11-26T20:00:16Z","author_association":"MEMBER","body":"reflex-platform now uses a recent `nixpkgs` which includes ghc 8.4 and the addition of `project` should aid with adding pkg overrides"}}
{"actor":{"display_login":"luigy"}}