From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id sMBmAOHE9GNIPgAAbAwnHQ (envelope-from ) for ; Tue, 21 Feb 2023 14:19:29 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id CL2VO+DE9GNZvAAA9RJhRA (envelope-from ) for ; Tue, 21 Feb 2023 14:19:28 +0100 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 CC43121D3D for ; Tue, 21 Feb 2023 14:19:28 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pUSXx-0006WU-8t; Tue, 21 Feb 2023 08:19:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pUSXu-0006Vt-Gm for bug-guix@gnu.org; Tue, 21 Feb 2023 08:19:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pUSXu-0005Ll-7n for bug-guix@gnu.org; Tue, 21 Feb 2023 08:19:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pUSXt-00041l-OO for bug-guix@gnu.org; Tue, 21 Feb 2023 08:19:01 -0500 Subject: bug#42155: --with-source=PACKAGE=REPLACEMENT-SOURCE doesn't work recursively Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Tue, 21 Feb 2023 13:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 42155 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: pkill9 , 42155-done@debbugs.gnu.org, Efraim Flashner Mail-Followup-To: 42155@debbugs.gnu.org, maxim.cournoyer@gmail.com, pkill9@runbox.com Received: via spool by 42155-done@debbugs.gnu.org id=D42155.167698553915469 (code D ref 42155); Tue, 21 Feb 2023 13:19:01 +0000 Received: (at 42155-done) by debbugs.gnu.org; 21 Feb 2023 13:18:59 +0000 Received: from localhost ([127.0.0.1]:54948 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUSXq-00041R-Ip for submit@debbugs.gnu.org; Tue, 21 Feb 2023 08:18:58 -0500 Received: from mail-qv1-f53.google.com ([209.85.219.53]:39607) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUSXl-00041B-SR for 42155-done@debbugs.gnu.org; Tue, 21 Feb 2023 08:18:56 -0500 Received: by mail-qv1-f53.google.com with SMTP id ks17so4699104qvb.6 for <42155-done@debbugs.gnu.org>; Tue, 21 Feb 2023 05:18:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=bZ4WuARKvAorg4oeyRtbFsa/U1/BKldKGyZoBtvHWkI=; b=TRFwDOfcv4TdRnv3FEPXslKsR1K76FgyEdEK3LlMgP1wA5uDP+Pv6DHfjk6tlmRA8M H+DqL05C6rhPLVfamDwUp7tfieGO70Kl914JRXTYvz5YuMda2Mg3r3mXtYB4fgUzCXye fvYGJz8Zyw/PeC/I9arKe8dvcDaEVhYVHkHdeqYYrDX1OdL/6yTKS+nBVAlHHSYUVxHD 4NVtMfLe+f4Za6p4iMwGX1A1K9j1oJLAjIzYe8j84E1twns1fqTjKY2GYwCDzGrUmb+v Gs++BhGGAURuWhRgu3gFf5nW/D3Ql/Qi22NA3iKCGKaDV++sfTjc/gq3XWIqfV7hVTxG fd5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=bZ4WuARKvAorg4oeyRtbFsa/U1/BKldKGyZoBtvHWkI=; b=Q6vEoR5b39QS4ipNZpy6E2NWwFhnFunN6UCK7F438k9XGn9Q5E3Ab0bLsptILqJr/X MgscTqIt27LXCt4NRP0/aOgxE7v0IpumAIYO8W0+pA1uzeJbhgEfQTH8ghjHn1eFxHQ8 DyPQt1EafeFqt23pyJzjTcCfl5w2ygJbZyNNvE6cwGrNins4yuax6DHlcXbGZjCXgKUC UnuXxcZjSqqd/DKJGpfsWQzz3Fnt/ftM+d/qGeU+eucvK1CSb7fY1+xnDtzvsYUSH92y UA+Oh3B/QLHZBB6YxlRMHvpoiTfJ6SjBx1f1KgkHjdTxjvTkNjIrP+80L/RFy9uUxZEC avXw== X-Gm-Message-State: AO0yUKVPzRzwE5LRy3S0xerzkSfgTNDsUS2DP+4k/Lcuawv2tPXIcst7 6wsrEFjohfCXjcKk5jofZ/mCNMwpbxeOO9VQ X-Google-Smtp-Source: AK7set+GsCRUYosNhl/Jam4FaUTUSY5rVL1SfJ57cO1cH+R7xQvVhQNLxi0ECmtvobVjZZCiVr8jFg== X-Received: by 2002:a05:6214:21a4:b0:56e:a96b:a3a1 with SMTP id t4-20020a05621421a400b0056ea96ba3a1mr8269322qvc.7.1676985528046; Tue, 21 Feb 2023 05:18:48 -0800 (PST) Received: from hurd ([2607:fad8:4:3::1002]) by smtp.gmail.com with ESMTPSA id d125-20020ae9ef83000000b007343fceee5fsm1014462qkg.8.2023.02.21.05.18.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Feb 2023 05:18:47 -0800 (PST) From: Maxim Cournoyer References: <20200701175331.551aa401@runbox.com> <20200702071206.GD6387@E5400> <20200702184407.01ba17d2@runbox.com> <87imf5poie.fsf@gnu.org> Date: Tue, 21 Feb 2023 08:18:46 -0500 In-Reply-To: <87imf5poie.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Thu, 02 Jul 2020 23:59:05 +0200") Message-ID: <87r0ujjgw9.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676985568; a=rsa-sha256; cv=none; b=KwuFTVcdmpcE+2w2PivI3v4PEAegUqY4rploYEnM9hqEXLnrsZ2Mg2U7iX/LcE5KrYsFZp eipw5fPBVwB5SwasgneVNTG76dJqoeC/8Vv4hUkuhLxHtFghtHgphTwu+rhCD9X2ep1n8O RKTKMxMPp+I6hrafes0iPi69epYpOzjt1Y6C+8T7HIUaC0btKCEkV1/FGyXeQv2PLKq9oK 7GHI7u5K82mewCIbrVLwKklrYSk/g93JCMOwQVXQo4TA7wYCgdG+MwioHg36x+S0X9weLh GL6j5EQMN21kShXxKf8RbOOt1A+rI6P6IHV7cFC+w9fw7XYg+wbfNHAIrQhgVw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=TRFwDOfc; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676985568; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-to: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=bZ4WuARKvAorg4oeyRtbFsa/U1/BKldKGyZoBtvHWkI=; b=JkikgcnGmQjTHpykRnOuSRth3tFx5jhWeJ5qaWB4vE2k51jX9uNyHjC39XdqlOetkfxuui aqW6mxMmJ0Ekti085CMlGj0YGpcKDR04eX8LugUT12VsMvXqYNXzHFo/uwanQrZYEPS3T6 oZLo6zXZPLgNoMC0rB7rlGClJq3jOg9+5ePl2ZMp8dWkbwHk23kZQKJEoHDyqfMZfgPLPt CvneUyLJa4njhpGV9eKGHn11Sya0WZjNwrD2hXMDzFYETjGn74tI1ChGAshYcrrxTgNTrC vu+PLZai129kQHI/rXyo7oh6vQfv9s8ZtHA7a0dr5ButuIE7KgRcT3siPxCeHQ== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -2.05 X-Spam-Score: -2.05 X-Migadu-Queue-Id: CC43121D3D Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=TRFwDOfc; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-TUID: jWlKZVFH1sRn Hi, Ludovic Court=C3=A8s writes: > pkill9 skribis: > >>> I think what you're looking for is more of: >>>=20 >>> guix build --no-grafts mpv --with-input=3Dyoutube-dl=3D$(guix build >>> --no-grafts youtube-dl >>> --with-source=3Dhttps://github.com/ytdl-org/youtube-dl/releases/downloa= d/2020.06.16/youtube-dl-2020.06.16.tar.gz) >>>=20 >>> This didn't work for me though, I got: >>> guix build: error: >>> /gnu/store/9ncacjhzwlchpr1y5fd8ahdq59dsya20-youtube-dl-2020.06.16: >>> unknown package >> >> Even if that worked, it doesn't fix the issue of the --with-source flag >> not working on the specified package's inputs. > > =E2=80=98--with-source=E2=80=99 is documented to be =E2=80=9Cshallow=E2= =80=9D: unlike =E2=80=98--with-input=E2=80=99 & > co., it doesn=E2=80=99t apply recursively. > > I think we should change it though. Closing, since that's been implemented per 28ade1bab207974cce6a014e7187968511fc5526 ("transformations: '--with-source' now operates in depth.") last September. --=20 Thanks, Maxim