[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] build-system: Add haskell-build-system.
From: |
Ricardo Wurmus |
Subject: |
Re: [PATCH] build-system: Add haskell-build-system. |
Date: |
Sun, 29 Mar 2015 16:00:45 +0200 |
Ludovic Courtès writes:
> Federico Beffa <address@hidden> 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