From unknown Sat Jun 21 10:24:07 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#42155 <42155@debbugs.gnu.org> To: bug#42155 <42155@debbugs.gnu.org> Subject: Status: --with-source=PACKAGE=REPLACEMENT-SOURCE doesn't work recursively Reply-To: bug#42155 <42155@debbugs.gnu.org> Date: Sat, 21 Jun 2025 17:24:07 +0000 retitle 42155 --with-source=3DPACKAGE=3DREPLACEMENT-SOURCE doesn't work rec= ursively reassign 42155 guix submitter 42155 pkill9 severity 42155 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 01 12:53:55 2020 Received: (at submit) by debbugs.gnu.org; 1 Jul 2020 16:53:55 +0000 Received: from localhost ([127.0.0.1]:53706 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jqfzf-0006qY-9S for submit@debbugs.gnu.org; Wed, 01 Jul 2020 12:53:55 -0400 Received: from lists.gnu.org ([209.51.188.17]:33166) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jqfzd-0006qQ-I6 for submit@debbugs.gnu.org; Wed, 01 Jul 2020 12:53:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51232) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jqfzd-0007oo-8C for bug-guix@gnu.org; Wed, 01 Jul 2020 12:53:53 -0400 Received: from aibo.runbox.com ([91.220.196.211]:35404) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jqfza-0005at-Bp for bug-guix@gnu.org; Wed, 01 Jul 2020 12:53:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=selector2; h=Content-Transfer-Encoding:Content-Type:MIME-Version: Message-ID:Subject:To:From:Date; bh=bZxg1vZaVlt9+UF8/O1dwp/O3wbU8ViXKUjbE3cZ+gM=; b=oKlsKWA1af2TMM+eCxh3kEti0i DrWkR5JLe1RbpfolZeGpQZzqh/uLQ/1gpq5Y1mnQlDHc0CWtsGawfo1XhBXUvNgPTmNF8lnt/P3j0 qqztmqu97cQPr8NRjpoQmbwYknwwPsLdnxasPngMogZN+TTqesadMG5ujYxN7yviTKR0tT4YpOR+v RW99d4ps+fwUYlQ4hqNIKskL+sH9dxFQhC1n4qdYMNoHQZU6d1jIrg/xCyejrIviOTrcS4MJ9JdWO uJGNQ66MthRQ/oAE79scsOjeAFkQIs9VVWL/5sbkJ6tzGiK905rt9QPhJF6iDHP86RQyg8C6CnYAe OKlNVh/Q==; Received: from [10.9.9.72] (helo=submission01.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1jqfzV-0001Sb-8P for bug-guix@gnu.org; Wed, 01 Jul 2020 18:53:45 +0200 Received: by submission01.runbox with esmtpsa [Authenticated alias (780724)] (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) id 1jqfzK-0005BD-Ma for bug-guix@gnu.org; Wed, 01 Jul 2020 18:53:34 +0200 Date: Wed, 1 Jul 2020 17:53:31 +0100 From: pkill9 To: bug-guix@gnu.org Subject: --with-source=PACKAGE=REPLACEMENT-SOURCE doesn't work recursively Message-ID: <20200701175331.551aa401@runbox.com> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=91.220.196.211; envelope-from=pkill9@runbox.com; helo=aibo.runbox.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/01 12:53:45 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) For example, `guix build --with-source=youtube-dl=blahblah mpv` builds mpv normally, after giving a message: guix build: warning: transformation 'with-source' had no effect on mpv@0.32.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 02 03:12:54 2020 Received: (at 42155) by debbugs.gnu.org; 2 Jul 2020 07:12:55 +0000 Received: from localhost ([127.0.0.1]:54226 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jqtOw-0004Bd-Mm for submit@debbugs.gnu.org; Thu, 02 Jul 2020 03:12:54 -0400 Received: from flashner.co.il ([178.62.234.194]:49528) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jqtOs-0004BK-UG for 42155@debbugs.gnu.org; Thu, 02 Jul 2020 03:12:52 -0400 Received: from localhost (unknown [31.210.181.184]) by flashner.co.il (Postfix) with ESMTPSA id 7C2FC401AB; Thu, 2 Jul 2020 07:12:44 +0000 (UTC) Date: Thu, 2 Jul 2020 10:12:06 +0300 From: Efraim Flashner To: pkill9 Subject: Re: bug#42155: --with-source=PACKAGE=REPLACEMENT-SOURCE doesn't work recursively Message-ID: <20200702071206.GD6387@E5400> References: <20200701175331.551aa401@runbox.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="RhUH2Ysw6aD5utA4" Content-Disposition: inline In-Reply-To: <20200701175331.551aa401@runbox.com> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 42155 Cc: 42155@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --RhUH2Ysw6aD5utA4 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 01, 2020 at 05:53:31PM +0100, pkill9 wrote: > For example, `guix build --with-source=3Dyoutube-dl=3Dblahblah mpv` builds > mpv normally, after giving a message: guix build: warning: > transformation 'with-source' had no effect on mpv@0.32.0 >=20 =46rom 'guix build --help:' --with-source=3DSOURCE use SOURCE when building the corresponding package --with-input=3DPACKAGE=3DREPLACEMENT replace dependency PACKAGE by REPLACEMENT I think what you're looking for is more of: guix build --no-grafts mpv --with-input=3Dyoutube-dl=3D$(guix build --no-gr= afts youtube-dl --with-source=3Dhttps://github.com/ytdl-org/youtube-dl/rele= ases/download/2020.06.16/youtube-dl-2020.06.16.tar.gz) This didn't work for me though, I got: guix build: error: /gnu/store/9ncacjhzwlchpr1y5fd8ahdq59dsya20-youtube-dl-2= 020.06.16: unknown package --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --RhUH2Ysw6aD5utA4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl79iMMACgkQQarn3Mo9 g1F6sg/+JIfRbPo+7eZXrRQbKtanpu7UgmKp78lhX9K5t1RUICabpEU+yHumxQCo m/i8cBXz6lGwX5VDzlkMB8JgJ8LKE7MNjTBW+ueSfCHfvYJvhaPtR5xUfy+o8vK7 YcmLtrDb4Y191fcnPOjESTAHc0FD5a2f/fWk5Ym+yhCIcTZiOBAumVgOXhrwcXi9 18jl5OSvUb0+iyjqXT1lVI+WPsLnTSNqVQ1XQiUZqRvP+CjPUx39pYU5VtNMSsT+ N//gHtSscAw9B0O178PofvQHFDXHb5vBY2MTJVrh+XlcsL6Ah9sf+UjD2PdQN4gH L/4422Y2hfuUsk3iuE3aZZyEgVMzoj+W60uifYkSYE8RZ8TAkcMP39rlmnMvhl+c W0+HPF/uCaJdRpdfDWMfSdf0I+uwbmmxP8n1U0G+p9VWF+VScMyxiZtA8o3cBlRf Fm2RGdnO93tREpRhoyVmDh9huvr9n/Fglwsob2lxnn6PtO9IQ644z6cUyTnJq4lk uTBiRl/P4m77o7Fwirb3Hf8B9WdCYDUGDjODffg9ysVvSayrlMEP4+oWFLL5lu2o U7xi0M6y9WyunC9tG53y0NDWX/lQSkDi2Xkl01s0RnNdjZOjusaS99Aa6dGBsiMo RdJs7CaaSD5LmFLuxMrTG1XXLPM8rRLydnNiuy3m55UI3kIeTSc= =NmbF -----END PGP SIGNATURE----- --RhUH2Ysw6aD5utA4-- From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 02 13:44:44 2020 Received: (at 42155) by debbugs.gnu.org; 2 Jul 2020 17:44:44 +0000 Received: from localhost ([127.0.0.1]:55597 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jr3GN-0005Cl-82 for submit@debbugs.gnu.org; Thu, 02 Jul 2020 13:44:44 -0400 Received: from aibo.runbox.com ([91.220.196.211]:38558) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jr3G6-0005CN-Ok for 42155@debbugs.gnu.org; Thu, 02 Jul 2020 13:44:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=selector2; h=Content-Transfer-Encoding:Content-Type:MIME-Version: References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=WDl4vKu+PzHyawwow6nMzoB2sJ22uov4PMfVKRy58Qo=; b=S822tBe40nd4pwBRP3A1MphCg3 Eckq0n7RD5uI+fJzd7xMo1HAKaE37avOKUcW5J/UhSTSx4kFYJTH5/QJusbCFvxUQDrTxDiRtdZzS 8+dEf6IIhRPPSLkfTC/8YosGoyGbInQVqvym6IzgVWY/73i7yEuag6N2mNY7fKwdKMGoDd/2unQnq z1zmaLw+vJYUwuYjXJh28B776vPLNrfPV/lo1LhHEG/UKWIHj0M09nsq0/XId6BLDnPK2hvDPiavA rT4qIFUSz3YTUwklQg/SHQ3KM0YsU/17NKyjV9OmSdqfzS/FMbcPIGG9ENTPDwx+LEQ+x7BsoWklU cJ7oKoNA==; Received: from [10.9.9.73] (helo=submission02.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1jr3G4-0001Fa-Bv; Thu, 02 Jul 2020 19:44:24 +0200 Received: by submission02.runbox with esmtpsa [Authenticated alias (780724)] (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) id 1jr3Fq-00034O-6f; Thu, 02 Jul 2020 19:44:10 +0200 Date: Thu, 2 Jul 2020 18:44:07 +0100 From: pkill9 To: Efraim Flashner Subject: Re: bug#42155: --with-source=PACKAGE=REPLACEMENT-SOURCE doesn't work recursively Message-ID: <20200702184407.01ba17d2@runbox.com> In-Reply-To: <20200702071206.GD6387@E5400> References: <20200701175331.551aa401@runbox.com> <20200702071206.GD6387@E5400> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 42155 Cc: 42155@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.4 (-) > I think what you're looking for is more of: > > guix build --no-grafts mpv --with-input=youtube-dl=$(guix build > --no-grafts youtube-dl > --with-source=https://github.com/ytdl-org/youtube-dl/releases/download/2020.06.16/youtube-dl-2020.06.16.tar.gz) > > 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. That command doesn't work because you're giving it a store path, not a package specification. From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 02 17:59:17 2020 Received: (at 42155) by debbugs.gnu.org; 2 Jul 2020 21:59:17 +0000 Received: from localhost ([127.0.0.1]:55884 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jr7Ei-0005AA-S3 for submit@debbugs.gnu.org; Thu, 02 Jul 2020 17:59:17 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34150) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jr7Eh-00059y-VB for 42155@debbugs.gnu.org; Thu, 02 Jul 2020 17:59:16 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42187) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jr7Eb-0003sD-Is; Thu, 02 Jul 2020 17:59:09 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=59992 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jr7EZ-0001Wq-Av; Thu, 02 Jul 2020 17:59:07 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: pkill9 Subject: Re: bug#42155: --with-source=PACKAGE=REPLACEMENT-SOURCE doesn't work recursively References: <20200701175331.551aa401@runbox.com> <20200702071206.GD6387@E5400> <20200702184407.01ba17d2@runbox.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 15 Messidor an 228 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 02 Jul 2020 23:59:05 +0200 In-Reply-To: <20200702184407.01ba17d2@runbox.com> (pkill9@runbox.com's message of "Thu, 2 Jul 2020 18:44:07 +0100") Message-ID: <87imf5poie.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42155 Cc: Efraim Flashner , 42155@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 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/download= /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. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 27 18:10:51 2020 Received: (at 42155) by debbugs.gnu.org; 27 Aug 2020 22:10:51 +0000 Received: from localhost ([127.0.0.1]:44373 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBQ6d-0003kK-Jk for submit@debbugs.gnu.org; Thu, 27 Aug 2020 18:10:51 -0400 Received: from mail-pg1-f181.google.com ([209.85.215.181]:44944) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBQ6b-0003k6-1C for 42155@debbugs.gnu.org; Thu, 27 Aug 2020 18:10:49 -0400 Received: by mail-pg1-f181.google.com with SMTP id m34so4316480pgl.11 for <42155@debbugs.gnu.org>; Thu, 27 Aug 2020 15:10:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=Yfgg2YZ4SE2HhFy1357qBTWwUADtyWKxW+Wbs//I444=; b=ZTVYmBAsOekUvv7s5lB3A49AT1oryY8FbLKjQmjVb5VuTURLF1iSuIknMNE5ZK+9+z X2q/Hrrv49wRIYit+Q4EyC0GWq1C9h/YwNA5stC4zxckRsapYb8cHCW64/BlGvFQ/NhK g3sSonbAIlXFKO1O/uws4T8uHn/2bQylnCwUj7iGNmb7oBQ9/MpWqzEKalmrM4oEzFJ7 rfASdZutDklq+BOMh2R/5BkT08zW0DWgVR4BuQ9FoLOApZkp5VLv6H/eSwk7G0mzx1HA zmb9q2r/CgPZqJhr/oHhzsY2RLQXDISBV3IMqnpMsD1fRnz2uvdRLf96/Vsl6mEE+mcs i9YA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=Yfgg2YZ4SE2HhFy1357qBTWwUADtyWKxW+Wbs//I444=; b=DI/PmJt+N2WeeI6pTj45twNboVC5lg+rGwRn9s9jpiT+VuReXU37oLWim5J/IZuX9I wiqLDu+pNnfS1l8QNcifEBvzMfWbMyoEa+f9oOoOfA7OuU+q1x4yfEFB3dhx8otdOpzJ 6o8kASbzLp26d6MweuQOlfMh56eJOEO2xMOu5whniCyUT85/fba7zAC66TdiEg2fw7+o G+eEycnkNW6ii09JdSMfWmp54VmxJGZ91RrTm4baUR7nPjG9VeDj6WGXPAbdixM4FfRb NfnwKDNmCXRE+wQXQl3p7FL9tAEJVccuaZmET7/tASZHDt7IKAxE2IAyaRCFWZuYhhP0 arJg== X-Gm-Message-State: AOAM5303U86JTFODssaLsZYGdTb5+IfnaKgnnYa4Yg8lCTUGgEH7Pd0s 2HTfXoNOdvmdfJYA9uTj2Czr/tvLDeM2xA== X-Google-Smtp-Source: ABdhPJyugLu5zcKf6v+liz0XKC2h2ZlAsb26TW1pP/yjGh0ItYRWh6JCxsp/x8GAO13l+ilfLylk7A== X-Received: by 2002:aa7:8010:: with SMTP id j16mr18464454pfi.210.1598566242676; Thu, 27 Aug 2020 15:10:42 -0700 (PDT) Received: from [192.168.1.25] ([38.141.58.134]) by smtp.gmail.com with ESMTPSA id f17sm3911507pfq.67.2020.08.27.15.10.41 for <42155@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 27 Aug 2020 15:10:41 -0700 (PDT) To: 42155@debbugs.gnu.org From: Jesse Gibbons Subject: re: --with-source=PACKAGE=REPLACEMENT-SOURCE doesn't work recursively Message-ID: Date: Thu, 27 Aug 2020 16:10:38 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Icedove/68.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 42155 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) (In response to issue at https://issues.guix.info/issue/42155): I want to be able to specify dependency sources, so I am working on this issue. It's complicated because --with-source= can take a simple source (implying the package being built should be built from SOURCE) or package=source (AIUI implying PACKAGE in the specified list of packages should be built from SOURCE).  Should we deprecate the current interpretation of "--with-source=package=source"? Or would it be better to preserve these options and make a new recursive '--with-dependency-source=package=source' option? I'm leaning towards making the option "--with-dependency-source=package=source" because I think that will be easier to accomplish and maintain. But if anyone has a compelling reason to deprecate the old usage, I am willing to listen. From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 21 08:18:58 2023 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 To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#42155: --with-source=PACKAGE=REPLACEMENT-SOURCE doesn't work recursively 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=22'?= =?utf-8?Q?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-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 42155-done Cc: pkill9 , 42155-done@debbugs.gnu.org, Efraim Flashner X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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 From unknown Sat Jun 21 10:24:07 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 22 Mar 2023 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator