all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Gabriel Giamarchi <gabrielg@student.ethz.ch>
To: 37064@debbugs.gnu.org
Subject: bug#37064: Ghc 8.6.5 fails to find core package database
Date: Sat, 17 Aug 2019 17:21:08 +0200	[thread overview]
Message-ID: <731a105e-4cf8-0d88-798b-3907c458410a@student.ethz.ch> (raw)

Installing only 'ghc 8.6.5' (Glasgow Haskell compiler) and sourcing

'~/.guix-profile/etc/profile' leads to ghc not finding core modules.
('ghci' doesn't find System.IO for instance).

This is due to $GHC_PACKAGE_PATH not containing ghc 8.6.5's 
package.conf.d, but
instead ghc 8.4.3's database.
Note: Not setting this variable leads to a working ghc (will search in 
default
location), but is required to install additional packages via guix.

The issue might come from guix/profiles.scm:812, since
   (module-ref (resolve-interface '(gnu packages haskell)) 'ghc)
evaluates to <package ghc@8.4.3 gnu/packages/haskell.scm:445> in my repl.

             reply	other threads:[~2019-08-17 16:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-17 15:21 Gabriel Giamarchi [this message]
2019-08-22 19:26 ` bug#37064: Ghc 8.6.5 fails to find core package database Timothy Sample
2019-09-10  2:05   ` Timothy Sample

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

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

  git send-email \
    --in-reply-to=731a105e-4cf8-0d88-798b-3907c458410a@student.ethz.ch \
    --to=gabrielg@student.ethz.ch \
    --cc=37064@debbugs.gnu.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.