Closed sheepduke closed 4 years ago
Thanks for reporting! Could you please share the contents of the d:/Home/projects/haskell/Hello/Hello.cabal
file you experience the problem with?
It is automatically generated by Stack.
You may try to reproduce it using a project newly created using Stack.
The following is my Hello.cabal
file:
cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.31.2.
--
-- see: https://github.com/sol/hpack
--
-- hash: 5456e70a8c95766c0508c54cd50a5d1477de0a486fc1581951be941921a46185
name: Hello
version: 0.1.0.0
description: Please see the README on GitHub at <https://github.com/githubuser/Hello#readme>
homepage: https://github.com/githubuser/Hello#readme
bug-reports: https://github.com/githubuser/Hello/issues
author: Author name here
maintainer: example@example.com
copyright: 2020 Author name here
license: BSD3
license-file: LICENSE
build-type: Simple
extra-source-files:
README.md
ChangeLog.md
source-repository head
type: git
location: https://github.com/githubuser/Hello
library
exposed-modules:
Lib
other-modules:
Paths_Hello
hs-source-dirs:
src
build-depends:
base >=4.7 && <5
default-language: Haskell2010
executable Hello-exe
main-is: Main.hs
other-modules:
Paths_Hello
hs-source-dirs:
app
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends:
Hello
, base >=4.7 && <5
default-language: Haskell2010
test-suite Hello-test
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
Paths_Hello
hs-source-dirs:
test
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends:
Hello
, base >=4.7 && <5
default-language: Haskell2010
I think I fixed this, please give it a spin.
Confirmed. Thank you.
Overview
I am using flycheck-haskell on Windows Emacs.
While calling
(flycheck-haskell-setup)
, it enters debugger with the following trace:Environment
Emacs version:
GNU Emacs 26.3 (build 1, x86_64-w64-mingw32) of 2019-08-29
flycheck-haskell version:
20190907.2035