From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: Re: New build system: copy-build-system Date: Tue, 28 Jan 2020 11:32:07 +0100 Message-ID: <874kwfj2hk.fsf@gnu.org> References: <87sgk2dkuv.fsf@ambrevar.xyz> <871rrkvi0p.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:47319) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iwOAF-0005vv-Eh for guix-devel@gnu.org; Tue, 28 Jan 2020 05:32:12 -0500 In-Reply-To: <871rrkvi0p.fsf@elephly.net> (Ricardo Wurmus's message of "Mon, 27 Jan 2020 20:03:34 +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-mx.org@gnu.org Sender: "Guix-devel" To: Ricardo Wurmus Cc: guix-devel@gnu.org Hi, Ricardo Wurmus skribis: >> We've got quite a few packages that simply copy some files from their >> source to the output. Examples include `debian-archive-keyring`, >> `0ad-data`, `gcide`, or `rofi-pass`. >> >> Those packages end up being tedious to write because we need to rely on >> the trivial-build-system, also known as "the least trivial of them all!"= :) >> >> What about adding a "copy-build-system" which has one argument, say an >> `#:install-plan` that takes a list of source-destination pairs? > > This sounds like a good idea. We did something similar when the > font-build-system was added to simplify the tedium of copying files. Perhaps some of these can just be plain records if they are only used internally (not as packages on the command line). For the other cases, =E2=80=98copy-build-system=E2=80=99 may prove useful! Ludo=E2=80=99.