GNU bug report logs - #37064
Ghc 8.6.5 fails to find core package database

Previous Next

Package: guix;

Reported by: Gabriel Giamarchi <gabrielg <at> student.ethz.ch>

Date: Sat, 17 Aug 2019 16:18:02 UTC

Severity: normal

Done: Timothy Sample <samplet <at> ngyro.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Gabriel Giamarchi <gabrielg <at> student.ethz.ch>
To: 37064 <at> 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
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 <at> 8.4.3 gnu/packages/haskell.scm:445> in my repl.




This bug report was last modified 5 years and 277 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.