unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: John Soo <jsoo1@asu.edu>
To: Gary Johnson <lambdatronic@disroot.org>,
	Bone Baboon <bone.baboon@disroot.org>
Cc: help-guix@gnu.org
Subject: Re: Haskell program build and run using Cabal
Date: Sun, 11 Apr 2021 09:11:46 -0700	[thread overview]
Message-ID: <9c00f606-1bc2-4fcd-9cfe-28ba9b178aae@Canary> (raw)
In-Reply-To: <87k0p9m0d3.fsf@disroot.org>

[-- Attachment #1: Type: text/plain, Size: 495 bytes --]

Hello,

There are a few problems with the ghc ecosystem in guix right now (unless they have been fixed in the last month or so). The following is relevant to you.

Our version of cabal-install is incompatible with the default ghc version: http://issues.guix.gnu.org/45055

The fix for this is to use ghc@8.6.

From there you can use cabal as normal, but without the $GHC_PACKAGE_PATH variable set, i.e.:

$ env -u GHC_PACKAGE_PATH cabal new-build
I hope that helps.

Kindly,

John

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 860 bytes --]

  reply	other threads:[~2021-04-11 16:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-11  3:23 Haskell program build and run using Cabal Bone Baboon
2021-04-11 13:12 ` Gary Johnson
2021-04-11 16:11   ` John Soo [this message]
2021-04-11 17:31   ` Bone Baboon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9c00f606-1bc2-4fcd-9cfe-28ba9b178aae@Canary \
    --to=jsoo1@asu.edu \
    --cc=bone.baboon@disroot.org \
    --cc=help-guix@gnu.org \
    --cc=lambdatronic@disroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).