{"action":"opened","issue":{"url":"https://api.github.com/repos/haskell/cabal/issues/5619","repository_url":"https://api.github.com/repos/haskell/cabal","labels_url":"https://api.github.com/repos/haskell/cabal/issues/5619/labels{/name}","comments_url":"https://api.github.com/repos/haskell/cabal/issues/5619/comments","events_url":"https://api.github.com/repos/haskell/cabal/issues/5619/events","html_url":"https://github.com/haskell/cabal/issues/5619","id":369914410,"node_id":"MDU6SXNzdWUzNjk5MTQ0MTA=","number":5619,"title":"Backpack - unable to launch `cabal new-repl` for an indefinite library","user":{"login":"zyla","id":1410069,"node_id":"MDQ6VXNlcjE0MTAwNjk=","avatar_url":"https://avatars2.githubusercontent.com/u/1410069?v=4","gravatar_id":"","url":"https://api.github.com/users/zyla","html_url":"https://github.com/zyla","followers_url":"https://api.github.com/users/zyla/followers","following_url":"https://api.github.com/users/zyla/following{/other_user}","gists_url":"https://api.github.com/users/zyla/gists{/gist_id}","starred_url":"https://api.github.com/users/zyla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zyla/subscriptions","organizations_url":"https://api.github.com/users/zyla/orgs","repos_url":"https://api.github.com/users/zyla/repos","events_url":"https://api.github.com/users/zyla/events{/privacy}","received_events_url":"https://api.github.com/users/zyla/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-14T15:42:26Z","updated_at":"2018-10-14T15:42:26Z","closed_at":null,"author_association":"NONE","body":"`cabal new-repl` for a signature-only component doesn't launch GHCi. I believe it should be possible.\r\n\r\nThe command just prints the following:\r\n\r\n```\r\n$ cabal new-repl\r\nResolving dependencies...\r\nBuild profile: -w ghc-8.4.3 -O1\r\nIn order, the following will be built (use -v for more details):\r\n - IndefRepl-0.1.0.0 (lib) (configuration changed)\r\nConfiguring library for IndefRepl-0.1.0.0..\r\nPreprocessing library for IndefRepl-0.1.0.0..\r\n```\r\n\r\nand exits.\r\n\r\nTest case:\r\n\r\n`cabal.project`:  \r\n```\r\npackages: .\r\n```\r\n\r\n`IndefRepl.cabal`:  \r\n```\r\nname:                IndefRepl\r\nversion:             0.1.0.0\r\nbuild-type:          Simple\r\ncabal-version:       >=1.25\r\n\r\nlibrary\r\n  signatures:          Sig\r\n  build-depends:       base\r\n  default-language:    Haskell2010\r\n```\r\n\r\n`Sig.hsig`:  \r\n```\r\nsignature Sig where\r\nfoo :: ()\r\n```\r\n\r\nTested with cabal-install `2.4.0.0` and HEAD (a6415a8f303ea9c2713ccc6a07a3c8d3397f6e1b)."}}
{"actor":{"display_login":"zyla"}}