From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: New build system: copy-build-system Date: Mon, 27 Jan 2020 20:03:34 +0100 Message-ID: <871rrkvi0p.fsf@elephly.net> References: <87sgk2dkuv.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:49905) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iw9fm-0004E1-P8 for guix-devel@gnu.org; Mon, 27 Jan 2020 14:03:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iw9fl-0003vI-HO for guix-devel@gnu.org; Mon, 27 Jan 2020 14:03:46 -0500 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21174) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iw9fl-0003un-4t for guix-devel@gnu.org; Mon, 27 Jan 2020 14:03:45 -0500 In-reply-to: <87sgk2dkuv.fsf@ambrevar.xyz> 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: Pierre Neidhardt Cc: guix-devel@gnu.org Hi Pierre, > 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. -- Ricardo