Mike Pilgrem

Results 73 comments of Mike Pilgrem
trafficstars

On error messages: * No `main-is` (required since Cabal 1.0) Cabal (the library) complains that `No 'main-is' field found for executable foo-exe` * `main-is: Main.hs`, no `Main.hs` Cabal complains that...

I do not know why the CI is failing for Windows/'system' GHC (being GHC 9.6.2). I logged https://gitlab.haskell.org/ghc/ghc/-/issues/23533 as it seems to be GHC-related. Locally, I can build and test...

I am going to close this issue because the short answer is that GHC has ignored the `includes:` field in Cabal files since November 2008 (GHC 6.10.1): https://downloads.haskell.org/~ghc/6.10.1/docs/html/users_guide/release-6-10-1.html

I have a similar problem. On Windows (using the `tasty-travis` template): ~~~ > stack new foo tasty-travis > cd foo > stack test foo:foo-doctest Building all executables for `foo' once....

Problems with a large number of links to the Cabal package description specification are (a) linking to which version of the specification? And (b) the 'cost' of maintaining the links....

May I 'pause' any consideration of this issue? I think I can take a different approach with Stack, where it does not need to use any hook to do what...

@sheaf, Stack's `stack ghci` opens GHCi set-up (as far as it can be) for a multi-package project. If I understand Cabal (the library)'s `repl` correctly from its in-app documentation, it...

@mpickering, is that `cabal-install`? `stack --snapshot nightly-2024-04-03 runghc -- Setup.hs repl --help` (GHC 9.8.2, Cabal-3.10.2.0) does not mention that flag.

I manually edit `stack-setup-2.yaml`, but that may be an easier job as I only have final releases of GHC to worry about and on a smaller set of platform variants...

@hasufell, I am a little lost as to the question I might be able to help with. However: Windows does (by default; it can be removed on Windows 10 and...