Skip to content

Starting inferior stack GHCi process using stack (when using interactive mode) cannot satisfy package #1271

Closed
@semaj

Description

@semaj

Log of error when I C-c C-l or C-c C-c (haskell process has died):

("Starting inferior stack GHCi process using stack" "hademlia" nil "stack" "ghci" "--ghc-options=-ferror-spans")
-> Prelude.putStrLn ""
-> :set -v1
-> :set prompt "\4"
<- Configuring GHCi with the following packages: hademlia
   GHCi, version 7.10.3: http://www.haskell.org/ghc/  :? for help
   <command line>: cannot satisfy -package hademlia
       (use -v for more information)
Event: "exited abnormally with code 1
"
Process reset.

Relevant init.el:

;; haskell
(require 'haskell-interactive-mode)
(require 'haskell-process)
(add-hook 'haskell-mode-hook 'interactive-haskell-mode)
(eval-after-load "haskell-mode"
  '(progn
     (setq haskell-compile-cabal-build-command "stack build")
     (setq haskell-process-type 'stack-ghci)
     (setq haskell-process-log t)
     (define-key haskell-mode-map (kbd "C-`") 'haskell-interactive-bring)
     (define-key haskell-mode-map (kbd "C-c C-c") 'haskell-compile)
     (define-key haskell-mode-map (kbd "C-x C-d") nil)
     (define-key haskell-mode-map (kbd "C-c C-z") 'haskell-interactive-switch)
     (define-key haskell-mode-map (kbd "C-c C-l") 'haskell-process-load-file)
     (define-key haskell-mode-map (kbd "C-c C-b") 'haskell-interactive-switch)
     (define-key haskell-mode-map (kbd "C-c C-t") 'haskell-process-do-type)
     (define-key haskell-mode-map (kbd "C-c C-i") 'haskell-process-do-info)
     (define-key haskell-mode-map (kbd "C-c M-.") nil)
     (define-key haskell-mode-map (kbd "C-c C-d") nil)))
; end haskell

The project in question: https://github.com/semaj/hademlia

Anyone know why? I'm on the most recent melpa version, and I've tried reinstalling.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions