haskellemacsintero

Why can't emacs find the haskell-mode package?


The error I am currently getting is:

File error: http://melpa.org/packages/haskell-mode-20161110.316.tar, Not found

when installing intero. How do I go about fixing this?

Thank you!


Solution

  • Try this:

    (package-refresh-contents)
    

    In case you do not have melpa, since it is not available on the elpa repository:

    (setq package-archives '(("gnu" . "https://elpa.gnu.org/packages/")
                         ("marmalade" . "https://marmalade-repo.org/packages/")
                         ("melpa" . "https://melpa.org/packages/")))