From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: [PATCH] build-system: Add haskell-build-system. Date: Sun, 29 Mar 2015 16:00:45 +0200 Message-ID: <877ftz52eq.fsf@mango.localdomain> References: <87wq1zyl2z.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47833) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YcDlo-0005F8-1z for guix-devel@gnu.org; Sun, 29 Mar 2015 10:00:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YcDln-0008AB-0L for guix-devel@gnu.org; Sun, 29 Mar 2015 10:00:55 -0400 In-reply-to: <87wq1zyl2z.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: Guix-devel , Federico Beffa Ludovic Courtès writes: > Federico Beffa 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