                     (setq intero-hoogle-port port)
                     (start-process "hoogle"
                                    buffer
-                                   "stack"
+                                   intero-stack-executable
                                    "hoogle"
                                    "server"
                                    "--no-setup"

              (intero-localize-path (intero-buffer-file-name)))))
      (let ((process
             (get-buffer-process
              (apply #'make-comint-in-buffer "intero" (current-buffer) "stack" nil "ghci"
                     (append arguments
                             (list "--verbosity" "silent")
                             (list "--ghci-options"

    (setq intero-project-root
          (with-temp-buffer
            (cl-case (save-excursion
                       (intero-call-process intero-stack-executable nil
                                            (current-buffer)
                                            nil
                                            "path"
