From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Soo Subject: Re: Questions about Development Environments in Emacs (Leiningen, Intero) Date: Fri, 3 Jan 2020 08:01:42 -0800 Message-ID: References: <8736cxkkx7.fsf@ambrevar.xyz> Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:49140) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1inPOW-00071k-3y for help-guix@gnu.org; Fri, 03 Jan 2020 11:01:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1inPOU-0002LQ-1V for help-guix@gnu.org; Fri, 03 Jan 2020 11:01:47 -0500 Received: from mail-oi1-x233.google.com ([2607:f8b0:4864:20::233]:39516) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1inPOT-0002Dl-F6 for help-guix@gnu.org; Fri, 03 Jan 2020 11:01:45 -0500 Received: by mail-oi1-x233.google.com with SMTP id a67so14492525oib.6 for ; Fri, 03 Jan 2020 08:01:45 -0800 (PST) In-Reply-To: <8736cxkkx7.fsf@ambrevar.xyz> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Pierre Neidhardt Cc: help-guix Hi Pierre! > On Jan 3, 2020, at 12:24 AM, Pierre Neidhardt wrote: >=20 > I'm facing a similar issue at the moment. Does anyone have a good > answer to develop Haskell or Clojure with Emacs on Guix? I write a fair bit of Haskell. I find that I like to use cabal-install to de= velop, then make a .scm file for the guix package separately. haskell-mode works well in this workflow. There are a few tweaks to make, to= get the most out of it. cabal complains if GHC_PACKAGE_PATH is set, so I u= se the Elisp variable haskell-process-wrapper-function to add "env -u GHC_PA= CKAGE_PATH" prior to the cabal commands. The only other complaint I have is that flycheck-haskell only supports stack= . haskell-mode has excellent error reporting, though. So I=E2=80=99ve never= had a major complaint. We could probably package stack. It is widely used in industry so it could m= ake guix more usable. That would also start intero support. I am not sure i= f intero is maintained anymore, though. If they don=E2=80=99t find a maintai= ner I am not sure it will make it into guix. Happy hacking! John=20=