From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id lwJrKX2nXWCgewAAgWs5BA (envelope-from ) for ; Fri, 26 Mar 2021 10:21:01 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id CGFqIn2nXWC2HgAA1q6Kng (envelope-from ) for ; Fri, 26 Mar 2021 09:21:01 +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 0B1BF33D3A for ; Fri, 26 Mar 2021 10:21:01 +0100 (CET) Received: from localhost ([::1]:59978 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lPieK-0005cK-0W for larch@yhetil.org; Fri, 26 Mar 2021 05:21:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44726) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lPida-0005MF-K4 for help-guix@gnu.org; Fri, 26 Mar 2021 05:20:14 -0400 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:48495) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lPidY-00070E-55 for help-guix@gnu.org; Fri, 26 Mar 2021 05:20:13 -0400 X-Originating-IP: 92.169.147.163 Received: from bababa (lfbn-idf2-1-1335-163.w92-169.abo.wanadoo.fr [92.169.147.163]) (Authenticated sender: mail@ambrevar.xyz) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 5E92320003; Fri, 26 Mar 2021 09:20:06 +0000 (UTC) From: Pierre Neidhardt To: Raghav Gururajan , help-guix@gnu.org Subject: Re: Help with copy-build-system In-Reply-To: <63c41e90-0fbb-08fa-b22a-9d5046b04aa9@raghavgururajan.name> References: <63c41e90-0fbb-08fa-b22a-9d5046b04aa9@raghavgururajan.name> Date: Fri, 26 Mar 2021 10:20:06 +0100 Message-ID: <87sg4imfuh.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=217.70.183.200; envelope-from=mail@ambrevar.xyz; helo=relay7-d.mail.gandi.net X-Spam_score_int: 0 X-Spam_score: -0.1 X-Spam_bar: / X-Spam_report: (-0.1 / 5.0 requ) BAYES_00=-1.9, FROM_SUSPICIOUS_NTLD=0.499, PDS_OTHER_BAD_TLD=1.999, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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=1616750461; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=g8xHqoaLvSyzjyyYU/xR9I3nh/BVZl2Le/vGhLc0h2U=; b=nGZrdCUzzF01g0AB/88bpQqNJ8TcfcLKyHhB6Ydkso2/VzaGk1GaikoPHP5XACavwXvs71 e1FpI9VnpLT51lds/ObIP5gjRLqjYWSMhiqYMWnJn739A6gUk2urCsQjbhW7cTW0RhbLSY ggjaux6ho01jkEtchWYQfs2ddrkTgx9yAxYxGWKGXL0uBao73D4QJHVUlga34cykO67aQm A2jmzkSr7MK0j/lfHz3ePDp+0GhS0usiyvGO0IMLtbklyrOlnLoH+8ETxq595ND5j8AtVM YOn7mW0PetnHvoHNQfopJGS+cA5E0O0Mp4lWwluJvqmksICV9YVbVekMOicWOQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616750461; a=rsa-sha256; cv=none; b=RFQVdhrtFlj9nXUMou2zYwWO9bsDKL1fkOLSPCOPiV/y389ug9zVaT7DWyMpPay7bSdM10 zEWXeg0eSX2Kz6QRE4IkBKP43FvzPPZMhGQIjAidBSuFWGnD/eQqlY8ownDLnUHL5kSok+ aa4z+j9UwmpjU0i7Pk2Y8mmE0pNjqjzytp/NJVCirqvF0834ldMhbRZRfUmRYtfeB+iQO0 grq9xfsy8Z83hSaTdJO4r+Qqemgzh5r++FxuwOMPvCzAsP1fKVHsgRTDd8WsgpGPxqy1Yq fJ3Mr6yKb+iv3J0/XYZFWrPRD+Yp5a54iQTBYiNU5bDfDD6kYWWBpdCpg+cKtw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=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: -2.02 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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: 0B1BF33D3A X-Spam-Score: -2.02 X-Migadu-Scanner: scn0.migadu.com X-TUID: kGrJV1osMcz/ --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, I haven't looked closely at your patch, but here is the rule for copy-build-system if I'm not mistaken: the files matching #:include preserve the path relative to the first argument. For instance with this rule ("/source/aaa/" "/target/bbb/" #:include ("foo")) the file /source/aaa/parent/foo is copied to /target/bbb/parent/foo (I haven't tested.) Does that help? =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFGBAEBCAAwFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAmBdp0YSHG1haWxAYW1i cmV2YXIueHl6AAoJEJvc9Jeku8x/f6IH/1bSETTzx7IZbMCi0DG09MD9TQBN596Q i860FrdG5h9FJIBY3UlEnpLgyxrnWvcidbtmibBepczLB3Uh7PCOwiaU4YJHJW1f StkHR1xI8VlbK/5/2q8q8UxLO3n0AFYx1s0HjdFiY0gqZ0zsKfGkBYrsoUDUIAf8 bhBkqtip+PTKAeACUUKM0eCw46jWalU9qDNbzHuwp34VH6iQI9QVUwKj1PWm7Jiq sypn0GeKFPkJPiA2230/3gn73FvNn6Z+yMj8oxhRi71qK/A4XyKfCUzTgjBbx6hm 0YwsZ36HLYxH3Ylb3djtNfRixPttG0lQSUcojSTGT+KUMlkaaUTiG98= =25HI -----END PGP SIGNATURE----- --=-=-=--