From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesse Gibbons Subject: Re: New build system: copy-build-system Date: Sun, 26 Jan 2020 17:45:00 -0700 Message-ID: <71f1c314039928365360de9345cbd2170100e093.camel@gmail.com> References: <87sgk2dkuv.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:49438) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ivsWW-0004Ch-VX for guix-devel@gnu.org; Sun, 26 Jan 2020 19:45:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ivsWW-0002jq-4Y for guix-devel@gnu.org; Sun, 26 Jan 2020 19:45:04 -0500 Received: from mail-pl1-x629.google.com ([2607:f8b0:4864:20::629]:32932) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ivsWV-0002ho-TJ for guix-devel@gnu.org; Sun, 26 Jan 2020 19:45:04 -0500 Received: by mail-pl1-x629.google.com with SMTP id ay11so3134961plb.0 for ; Sun, 26 Jan 2020 16:45:03 -0800 (PST) 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 , guix-devel@gnu.org On Sun, 2020-01-26 at 21:27 +0100, Pierre Neidhardt wrote: > Error verifying signature: Failed to execute gpg. > Hi! > > 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 would drastically simplify the definition of the aforementioned > packages, basically summing up dozens of boilerplate lines into an > effectively trivial file mapping. > > If this sounds like a good idea, I'd be happy to send a patch! > > Cheers! > That would be great!