unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#37064: Ghc 8.6.5 fails to find core package database
@ 2019-08-17 15:21 Gabriel Giamarchi
  2019-08-22 19:26 ` Timothy Sample
  0 siblings, 1 reply; 3+ messages in thread
From: Gabriel Giamarchi @ 2019-08-17 15:21 UTC (permalink / raw)
  To: 37064

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-09-10  2:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-17 15:21 bug#37064: Ghc 8.6.5 fails to find core package database Gabriel Giamarchi
2019-08-22 19:26 ` Timothy Sample
2019-09-10  2:05   ` Timothy Sample

Code repositories for project(s) associated with this public inbox

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

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).