unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: Andy Tai <lichengtai@gmail.com>
Cc: help-guix@gnu.org
Subject: Re: packaging package with multiple git repos
Date: Fri, 27 Aug 2021 08:56:19 +0200	[thread overview]
Message-ID: <87czpzbcks.fsf@elephly.net> (raw)
In-Reply-To: <CAJsg1E-N7DSmqpNGD=h0LfxFRP-oXT71tM5sShckzgS0YL-ZLg@mail.gmail.com>


Hi Andy,

> Hi, I am trying to create a package definition for a package 
> which has
> multiple git repos and is to be built with these repos checked 
> out
> together.  I am curious how can multiple source origins be 
> expressed
> in package definition?  thanks for examples for this.

There is no generic way to do this.  We have an svn-multi-fetch in 
(guix svn-download) that fetches named locations from an SVN 
repository, but there is no comparable feature for git-download.

The common way to do this is to add more origins to the 
native-inputs and place them where you need them to be in a build 
phase after 'unpack.

-- 
Ricardo


  reply	other threads:[~2021-08-27  6:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-27  5:04 packaging package with multiple git repos Andy Tai
2021-08-27  6:56 ` Ricardo Wurmus [this message]
2021-08-27 10:22   ` Julien Lepiller

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=87czpzbcks.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=help-guix@gnu.org \
    --cc=lichengtai@gmail.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.
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).