{"action":"created","issue":{"url":"https://api.github.com/repos/haskell/cabal/issues/3737","repository_url":"https://api.github.com/repos/haskell/cabal","labels_url":"https://api.github.com/repos/haskell/cabal/issues/3737/labels{/name}","comments_url":"https://api.github.com/repos/haskell/cabal/issues/3737/comments","events_url":"https://api.github.com/repos/haskell/cabal/issues/3737/events","html_url":"https://github.com/haskell/cabal/issues/3737","id":173976444,"number":3737,"title":"Manage a global package environment for easy GHCi access","user":{"login":"ezyang","id":13564,"avatar_url":"https://avatars.githubusercontent.com/u/13564?v=3","gravatar_id":"","url":"https://api.github.com/users/ezyang","html_url":"https://github.com/ezyang","followers_url":"https://api.github.com/users/ezyang/followers","following_url":"https://api.github.com/users/ezyang/following{/other_user}","gists_url":"https://api.github.com/users/ezyang/gists{/gist_id}","starred_url":"https://api.github.com/users/ezyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezyang/subscriptions","organizations_url":"https://api.github.com/users/ezyang/orgs","repos_url":"https://api.github.com/users/ezyang/repos","events_url":"https://api.github.com/users/ezyang/events{/privacy}","received_events_url":"https://api.github.com/users/ezyang/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/haskell/cabal/labels/cabal-install:%20nix-local-build","name":"cabal-install: nix-local-build","color":"d93f0b"},{"url":"https://api.github.com/repos/haskell/cabal/labels/type:%20enhancement","name":"type: enhancement","color":"e99695"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-30T09:52:36Z","updated_at":"2016-08-30T10:22:56Z","closed_at":null,"body":"See https://www.reddit.com/r/haskell/comments/507h0p/cabal_newbuild_is_a_package_manager/d72bzce?context=3\r\n\r\nI think, essentially, the request is for `cabal new-install` to put the requested package into some global packages set, which we keep up-to-date upon invocations to `new-install`. Maybe we should even write the package environment in the place GHC looks by default, so a bare `ghci` invocation works.\r\n\r\n@hvr thought `extra-packages` might be what you want (if it were implemented) but I'm not sure; I think it would cause any such mentioned packages to be considered local, and thus built inplace. But maybe that's a misinterpretation.\r\n\r\nCC @cocreature "},"comment":{"url":"https://api.github.com/repos/haskell/cabal/issues/comments/243397447","html_url":"https://github.com/haskell/cabal/issues/3737#issuecomment-243397447","issue_url":"https://api.github.com/repos/haskell/cabal/issues/3737","id":243397447,"user":{"login":"ezyang","id":13564,"avatar_url":"https://avatars.githubusercontent.com/u/13564?v=3","gravatar_id":"","url":"https://api.github.com/users/ezyang","html_url":"https://github.com/ezyang","followers_url":"https://api.github.com/users/ezyang/followers","following_url":"https://api.github.com/users/ezyang/following{/other_user}","gists_url":"https://api.github.com/users/ezyang/gists{/gist_id}","starred_url":"https://api.github.com/users/ezyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezyang/subscriptions","organizations_url":"https://api.github.com/users/ezyang/orgs","repos_url":"https://api.github.com/users/ezyang/repos","events_url":"https://api.github.com/users/ezyang/events{/privacy}","received_events_url":"https://api.github.com/users/ezyang/received_events","type":"User","site_admin":false},"created_at":"2016-08-30T10:22:56Z","updated_at":"2016-08-30T10:22:56Z","body":"There is no documentation on `extra-packages`; but to its credit, they are also not implemented (only the syntax bits are in.) It's hard to say what the semantics were supposed to be... @dcoutts ? I do think your interpretation makes sense."}}
{"actor":{"display_login":"ezyang"}}