Ludovic Courtès writes:

> Federico Beffa <[email protected]> skribis:
>
>> Please note that installed libraries need to be registered in a
>> compiler specific database. The database consists of a directory with
>> a configuration file for each library and *a single binary cache*
>> file. To avoid clashes in profiles, the build system does not create
>> the cache.
>
> Isn’t there any environment variable akin to LD_LIBRARY_PATH or
> GUILE_LOAD_PATH?  That would greatly simplify things.

There is the GHC_PACKAGE_PATH environment variable which is supposed to
be a colon-separated list of package databases.

See section 4.9.5.1 in the latest GHC user guide.
https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/packages.html

~~ Ricardo


Reply via email to