jyp / dante

388 stars 52 forks source link

"These modules are needed for compilation but not listed in your .cabal" error #177

Closed effectfully closed 7 months ago

effectfully commented 7 months ago

I've recently updated my version of dante (from one at the beginning of 2022 I think) and now I often get these warnings:

<no location info>: warning: [GHC-32850] [-Wmissing-home-modules]
    These modules are needed for compilation but not listed in your .cabal file's other-modules for ‘plutus-core-1.19.0.0-inplace’ :
        <list_of_random_files>

which completely disables dante and forces me to reload it, which doesn't always help.

I don't know if it's me who screwed something up or there's a bug in dante or what. I do have plenty of custom Elisp logic... Reporting here in case you have an idea or somebody else ran into this issue as well.

Thank you for the fantastic library, I've been using it for years.

effectfully commented 7 months ago

;; flycheck backend deprecated October 2022 ;; (add-hook 'haskell-mode-hook 'flycheck-mode)

Oh I see what my problem might be... I still use flycheck.

effectfully commented 7 months ago

I've tried older versions of dante, same issue. Must be something else. Sorry for the noise.