Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C-c C-c haskell-process-cabal-build won't work if haven't ran C-c C-l #1798

Open
clatisus opened this issue Dec 1, 2022 · 0 comments
Open

Comments

@clatisus
Copy link

clatisus commented Dec 1, 2022

Hi, I've come across a issue where haskell-process-cabal-build won't work, it shows

No cabal.project file or cabal file matching the default glob './*.cabal' was found.
Please create a package description file <pkgname>.cabal or a cabal.project file referencing the packages you want to build.

You can reproduce in a bare minimum cabal project by cabal init. The project only contains a Main.hs.

.
├── CHANGELOG.md
├── test-project.cabal
└── app
    └── Main.hs

But if I run C-c C-l haskell-process-load-file first (which start a haskell session), then I ran C-c C-c, it suddenly works, without any errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant