From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id WHrDCgq9KGGXPwAAgWs5BA (envelope-from ) for ; Fri, 27 Aug 2021 12:23:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id ODyFBgq9KGHLXgAA1q6Kng (envelope-from ) for ; Fri, 27 Aug 2021 10:23:06 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 66697C485 for ; Fri, 27 Aug 2021 12:23:05 +0200 (CEST) Received: from localhost ([::1]:47260 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mJZ0p-0002IV-SQ for larch@yhetil.org; Fri, 27 Aug 2021 06:23:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56168) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mJZ0b-0002II-6H for help-guix@gnu.org; Fri, 27 Aug 2021 06:22:49 -0400 Received: from lepiller.eu ([2a00:5884:8208::1]:45396) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mJZ0V-0007Z5-IY for help-guix@gnu.org; Fri, 27 Aug 2021 06:22:48 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id c0398b02; Fri, 27 Aug 2021 10:22:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:subject:in-reply-to:references:message-id:mime-version :content-type:content-transfer-encoding; s=dkim; bh=YKr9xwalJBCh z3uawgNGCbzHl//h31BZ6iojotgGs80=; b=hlkKtT81YCApkpBo48kgdP6zlMHj b8FgMjVuL0NCvIplVi+I5VTLi3IvIWYI1SNMc00/+DcPhJNIGdp7E4v2yNC+Lhkn 2KtLVQF3pmMNOLgvfpMvMf2JR7w7/aXIzzMuIs8/PM/EVGIcAKpMm0AMEdnw4Zi4 JUoaF8XDMeLxIWkN+xnpj8xugyvr8Uwf3gayMS3kB8clG+rUK6D2IhKML/f2JbZW QEFqqqeY/hn7meecicJCMy6Y5uyRvjLSiFskLYG3qvZWe+lvXxMAnPOhuywV6uQQ rzRk1I0S9eJLu1sQ+WJkbrPlX/zD0S+YQ5olWMZ1jyJYBIZoVakslAso1g== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id f2575c77 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Fri, 27 Aug 2021 10:22:35 +0000 (UTC) Date: Fri, 27 Aug 2021 06:22:25 -0400 From: Julien Lepiller To: help-guix@gnu.org, Ricardo Wurmus , Andy Tai Subject: Re: packaging package with multiple git repos User-Agent: K-9 Mail for Android In-Reply-To: <87czpzbcks.fsf@elephly.net> References: <87czpzbcks.fsf@elephly.net> Message-ID: MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:5884:8208::1; envelope-from=julien@lepiller.eu; helo=lepiller.eu X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1630059786; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=RfkdCHm20J+lEF9vQ9LR1UlxpLImXe5Voynb4UT0Ho0=; b=r80AzSQAEkx1PFCcJq7PDiRe1Y68R8AnGbSXHrwumZumTg1IrvRCTZd5qKCNmjumvUrX0l 31q1/6cNDLq392y3BFV4PUAcWjGiGdLcDaL4BvqZtE3no9uF2a3i3besi+9Cl8ZCUQ5Sus t2UyTtfyY/FH8YdOY4SZm2AAxgfY9EKXPhxzpbUJKPUuO2qQX6ncmvCz44VAyDUwQCGU7t Djr5hvTEJ1tH2oBdnCwOGf6xoFt6Q5IkmDUt8YEtu12usK3FqrBAiBtf5vWJpWF5UdCO3K YmuNY0ptloC2pv+i7yhxyN5wFpYLAFqIWBZIUS7xisdOkczeWPqEB+6ufOOuSQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630059786; a=rsa-sha256; cv=none; b=QBihkzSqpak/YdqRSUHw80+aisuMVr+OOoYu7qOVEq7soBz9tazOaiJqe8oYnCh8WkWudH mbdMvnykiyLnJ/pjCTtdtjZONdnLqpP678fE5cqDMLIgx2nzPYY+vDymIwmWu6X8aHeATr ukPAQjWjLwIsz39uBeCI3lyalvSjXcOPBmFWPZlKHvUtjTCmCauxHhCdSvJrFI/VAelQgp x/sUOcatvi8+LzbvqG2JVJjLqZ0A+2hqHVsQZ1ph45c/IQQA+rPHUVsAgJBcApo6ICa4w2 1dXmrxYnYvsvAx3hWm4M9z0MvcXvtUmfn5z44B3Chb+2EpGwEzpbvGnB1kQw0Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=lepiller.eu header.s=dkim header.b=hlkKtT81; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=lepiller.eu header.s=dkim header.b=hlkKtT81; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 66697C485 X-Spam-Score: -1.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: jQ8b9ye0BSaf One such example is opam (see "guix edit opam"), that needs four copies of = another repository for running its tests=2E For that, we put the origin rec= ords inside the inputs field, and copy the contents in one of the build pha= ses=2E Le 27 ao=C3=BBt 2021 02:56:19 GMT-04:00, Ricardo Wurmus a =C3=A9crit=C2=A0: > >Hi Andy, > >> Hi, I am trying to create a package definition for a package=20 >> which has >> multiple git repos and is to be built with these repos checked=20 >> out >> together=2E I am curious how can multiple source origins be=20 >> expressed >> in package definition? thanks for examples for this=2E > >There is no generic way to do this=2E We have an svn-multi-fetch in=20 >(guix svn-download) that fetches named locations from an SVN=20 >repository, but there is no comparable feature for git-download=2E > >The common way to do this is to add more origins to the=20 >native-inputs and place them where you need them to be in a build=20 >phase after 'unpack=2E > >--=20 >Ricardo >