From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Trivial build system Date: Mon, 12 Jan 2015 10:25:56 +0100 Message-ID: <87387gxsd7.fsf@gnu.org> References: <20150111151247.GA23839@debian> <20150111153829.GA23991@debian> 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]:44064) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YAbG5-0005hN-VL for guix-devel@gnu.org; Mon, 12 Jan 2015 04:26:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YAbG1-0002K5-UT for guix-devel@gnu.org; Mon, 12 Jan 2015 04:26:01 -0500 Received: from hera.aquilenet.fr ([2a01:474::1]:36491) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YAbG1-0002K1-NQ for guix-devel@gnu.org; Mon, 12 Jan 2015 04:25:57 -0500 In-Reply-To: <20150111153829.GA23991@debian> (Andreas Enge's message of "Sun, 11 Jan 2015 16:38:29 +0100") 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: Andreas Enge Cc: guix-devel@gnu.org Andreas Enge skribis: > I could call "tar" myself, but then I would also need to copy > first-subdirectory from gnu-build-system. So having a trivial-build-system > consisting of the phases 'set-paths and 'unpack from gnu-build-system > would be very useful, and also make packages that currently use the trivi= al > system more easy to write. (I am taking font-dejavu as a model; we would > not need to set PATH to include bzip2, call tar explicitly and chdir into > the created directory). Yeah, perhaps we need some sort of an intermediate between trivial-build-system and gnu-build-system. The idea is that trivial-build-system really does nothing (and it does it well!). And then, (guix build gnu-build-system) exports its phases, so it=E2=80=99s always possible to reuse them, as David noted. Ludo=E2=80=99.