guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New build system: copy-build-system


From: Ludovic Courtès
Subject: Re: New build system: copy-build-system
Date: Tue, 28 Jan 2020 11:32:07 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

Hi,

Ricardo Wurmus <address@hidden> 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 <origin> records if they are
only used internally (not as packages on the command line).

For the other cases, ‘copy-build-system’ may prove useful!

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]