From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?QWxleGFuZHJlIEjDqWF1bcOp?= Subject: Re: [PATCH] profiles: Generate GHC's package database cache. Date: Fri, 10 Apr 2015 14:30:21 +0200 Message-ID: References: <87pp7j40aw.fsf@netris.org> <87h9su4934.fsf@netris.org> <87pp7hzmtv.fsf@netris.org> <87lhi584lc.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e0158aba08315b305135dedfc Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49877) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YgY4r-0000cT-4u for guix-devel@gnu.org; Fri, 10 Apr 2015 08:30:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YgY4m-0000RJ-Bt for guix-devel@gnu.org; Fri, 10 Apr 2015 08:30:28 -0400 In-Reply-To: <87lhi584lc.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: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Cc: guix-devel@gnu.org, Federico Beffa --089e0158aba08315b305135dedfc Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 6 Apr 2015 21:00, "Ludovic Court=C3=A8s" wrote: > > Federico Beffa skribis: > > > On Mon, Apr 6, 2015 at 10:24 AM, Mark H Weaver wrote: > >> Is the package database cache used by anything other than GHC? If the > >> user doesn't have GHC installed, what would consult the GHC package > >> database cache? > > > > Maybe a GHC not in Guix? Not, sure if it would work. > > Or it could be that GHC and the libs are installed in different profiles > (though I admit it may not be that convenient.) > > Either way is fine with me, so please push whatever seems most > appropriate to you. > > Thanks! > > Ludo=E2=80=99. > Hello all, I just stumbled upon https :// github.com / acowley /cabbage which builds nix packages from cabal files. Maybe their approach can help you decide how to deal with the cache? Alex --089e0158aba08315b305135dedfc Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On 6 Apr 2015 21:00, "Ludovic Court=C3=A8s" <ludo@gnu.org> wrote:
>
> Federico Beffa <beffa@ieee.org> skribis:
>
> > On Mon, Apr 6, 2015 at 10:24 AM, Mark H Weaver <
mhw@netris.org> wrote:
> >> Is the package database cache used by anything other than GHC= ?=C2=A0 If the
> >> user doesn't have GHC installed, what would consult the G= HC package
> >> database cache?
> >
> > Maybe a GHC not in Guix? Not, sure if it would work.
>
> Or it could be that GHC and the libs are installed in different profil= es
> (though I admit it may not be that convenient.)
>
> Either way is fine with me, so please push whatever seems most
> appropriate to you.
>
> Thanks!
>
> Ludo=E2=80=99.
>

Hello all,

I just stumbled upon https://github.com/acowley/cabbage which builds nix packa= ges from cabal files.

Maybe their approach can help you decide how to deal with th= e cache?

Alex

--089e0158aba08315b305135dedfc--