From: Csepp <raingloom@riseup.net>
To: Hartmut Goebel <h.goebel@crazy-compilers.com>
Cc: Csepp <raingloom@riseup.net>, guix-devel@gnu.org
Subject: Re: Reusing code for a build-phase?
Date: Tue, 08 Aug 2023 02:15:12 +0200 [thread overview]
Message-ID: <87jzu6e65y.fsf@riseup.net> (raw)
In-Reply-To: <0eaebe32-5c2c-2ed8-7680-5083c8e640e8@crazy-compilers.com>
Hartmut Goebel <h.goebel@crazy-compilers.com> writes:
> Am 06.08.23 um 14:49 schrieb Csepp:
>> Maybe you could create a build system that inherits from the one these
>> packages use, but adds the extra phase.
>
> I was thinking about this, too. But this seems to be too much, as
> there are not hundreds of Vagrant plugins. Also a build-system
> requires documentation, wich is another pile of work.
There already are special purpose build systems, like the Minetest one.
I think you can just define it locally in the module and document it
with a comment, you don't necessarily have to make a module for it.
Alternatively you could write a function that modifies a package to add
the necessary phase.
I'm glad you brough this up, because I should test these ideas on my
MirageOS branch. FWIW I think I'll go with the build system solution.
next prev parent reply other threads:[~2023-08-08 0:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-05 8:25 Reusing code for a build-phase? Hartmut Goebel
2023-08-06 12:49 ` Csepp
2023-08-06 13:23 ` Hartmut Goebel
2023-08-08 0:15 ` Csepp [this message]
2023-08-06 15:23 ` Bruno Victal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87jzu6e65y.fsf@riseup.net \
--to=raingloom@riseup.net \
--cc=guix-devel@gnu.org \
--cc=h.goebel@crazy-compilers.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).