From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH] build-system: Add haskell-build-system. Date: Thu, 02 Apr 2015 23:31:30 +0200 Message-ID: <878uea43pp.fsf@gnu.org> References: <87wq1zyl2z.fsf@gnu.org> <877ftz52eq.fsf@mango.localdomain> <87k2xyhpce.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54129) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdmiD-000822-8A for guix-devel@gnu.org; Thu, 02 Apr 2015 17:31:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ydmi8-0008Ng-V9 for guix-devel@gnu.org; Thu, 02 Apr 2015 17:31:41 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59149) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ydmi8-0008Nc-Rb for guix-devel@gnu.org; Thu, 02 Apr 2015 17:31:36 -0400 In-Reply-To: (Federico Beffa's message of "Mon, 30 Mar 2015 18:48:17 +0200") 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: Federico Beffa Cc: Guix-devel Federico Beffa skribis: > On Mon, Mar 30, 2015 at 10:16 AM, Ludovic Court=C3=A8s wro= te: >> Handling it during profile creation, as you suggest, and avoiding the >> use of a wrapper sounds preferable to me. > > OK, lets go for that. Sometime we=E2=80=99ll have to make info-dir + cert + ghc stuff in (guix profiles) less adhoc. > In the mean time I've found that to generate the documentation an > additional step is required (phase haddock; the name is also the name > of the tool used to generate the doc). I've added a keyword argument > #:haddock? with default value of #t and #:haddock-flags for doc > specific flags. Nice. > The documentation is in the form of html files and does seems to > require a fair amount of space. Some random examples: > > - mtl libs: 1.2MB / doc: 0.772MB > - text libs: 13MB / doc: 1.7MB > - HTTP libs: 3.9MB / doc: 0.804MB > - network-uri: libs: 1.5MB / doc: 0.168MB > - parsec libs: 3.1MB / doc: 1.1MB > > Given that I'm starting to package a bunch of libraries, do we want to > generate a separate output for all of them? Probably, yes. > From 87f567c0c3c06da73bd70e2498f7829258ae7d61 Mon Sep 17 00:00:00 2001 > From: Federico Beffa > Date: Fri, 27 Mar 2015 09:36:56 +0100 > Subject: [PATCH 01/22] build-system: Add haskell-build-system. > > * guix/build-system/haskell.scm: New file. > * guix/build/haskell-build-system.scm: New file. [...] > +;; - We generate the cache when a profile is created. > + > +;; Code: > +;; =E2=80=9CCode:=E2=80=9D should be =E2=80=9Cattached=E2=80=9D to the block b= efore and followed by an empty line. Please push, thank you! Ludo=E2=80=99.