From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 uDYxCDEX+GJ5kQAAbAwnHQ (envelope-from ) for ; Sat, 13 Aug 2022 23:27:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id KFYGCDEX+GL5FgAAauVa8A (envelope-from ) for ; Sat, 13 Aug 2022 23:27:13 +0200 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 A5CD098E5 for ; Sat, 13 Aug 2022 23:27:12 +0200 (CEST) Received: from localhost ([::1]:34168 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oMyf1-0005CQ-Bm for larch@yhetil.org; Sat, 13 Aug 2022 17:27:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43424) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMyes-0005C2-Dn for guix-patches@gnu.org; Sat, 13 Aug 2022 17:27:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45520) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oMyes-00059l-4y for guix-patches@gnu.org; Sat, 13 Aug 2022 17:27:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oMyer-0006jU-TM for guix-patches@gnu.org; Sat, 13 Aug 2022 17:27:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56803] [PATCH 0/6] Add hydrus network and its dependencies Resent-From: "(" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 13 Aug 2022 21:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56803 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "Tomasz Jeneralczyk" , Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Maxime Devos , 56803@debbugs.gnu.org Received: via spool by 56803-submit@debbugs.gnu.org id=B56803.166042599925850 (code B ref 56803); Sat, 13 Aug 2022 21:27:01 +0000 Received: (at 56803) by debbugs.gnu.org; 13 Aug 2022 21:26:39 +0000 Received: from localhost ([127.0.0.1]:35269 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMyeV-0006is-0u for submit@debbugs.gnu.org; Sat, 13 Aug 2022 17:26:39 -0400 Received: from knopi.disroot.org ([178.21.23.139]:44062) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMyeP-0006if-Q0 for 56803@debbugs.gnu.org; Sat, 13 Aug 2022 17:26:37 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id B7FC240062; Sat, 13 Aug 2022 23:26:32 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EBkW_pS_4-88; Sat, 13 Aug 2022 23:26:31 +0200 (CEST) Mime-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1660425985; bh=IvLculUdSkLGCHOR63xSLYTgPmNUHeAThK75533fDAY=; h=Date:To:Cc:Subject:From:References:In-Reply-To; b=boui/HsX1CJA42vgo+7nOHgqR2b2YYQCSeBDZ6Aan5KoMf3kFc1Y6oDzazHiaZktn 4P0301vTxq2Z3Xrx/T5F5VO+MB/yIHuctN+VW+jfgJ65NWrOqXn9Wl+DLds4uSmLeV /TRjCl+ubd5dlEt033CLrSE9YdkUa0aS2stCgIFk3lvYEv4PugVT3wrDs0ZdXqiqsr UjH7DmuzjWjFAwU+G9aDZacGtK9337nJbLFYd6QIxbiWUTfP78Lg6a1OshMVnY/y0d QBhJWba9BXmOazyKRN1J0O/tBNfXAxUvzuplg7TTBk9KcAL5gGSIhDxaCRAVxjxh3q Qm8R6frxqNYOw== Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Sat, 13 Aug 2022 22:26:24 +0100 Message-Id: References: <8dec60b4f6d340aa63e58ef1e7628d4d8801fc0b.1658946720.git.tj@schwi.pl> <43fb4107-5ade-092c-23ef-424dfb2133c1@telenet.be> <3bdaf7497d56169b334ef85b65694fea@schwi.pl> <87lerx5u0q.fsf_-_@gnu.org> <6db66d068f014489f5202d825e1985af@schwi.pl> In-Reply-To: <6db66d068f014489f5202d825e1985af@schwi.pl> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: "\(" X-ACL-Warn: , "\( via Guix-patches" From: "\( via Guix-patches" via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1660426032; h=from:from:sender:sender:reply-to: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-cc: 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=1fMrOVNapYhDPK8aylD3GuvD0W/ZNhu+CZxSlI80qKs=; b=cG5lpJbqJF54yamiR4A1YKsxRrZCyWQb0nSGQw5n/A0fuypw3B/nuHHt8ZZE47311Sfvf7 3D3CO3oOq72rwXw/Sm0lr/dwOgApg0+9/jbYJSVG7TnUGDhDgheJFfEjtv6rF1n7x6gVEr L1V9UOLIch0zS2HuL9kA8wUP5PeNKOQR5/VaYaRKpx7t0erG04asSjhZ6HKweqlAk5ahaa Uc83EjEnNEwC+x80srsgLJG/usifzZaQQS6d+/Nzy9qWIqshsfbW18dGs2aeF66VhzR2Dq cRW5vExF4vN5iYt6tqhY2BaCuLKqpIHGEqX/fe7S8jTOpNNUQn/fa3kb10ciZg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660426032; a=rsa-sha256; cv=none; b=Jr6FOxDsBngJR/kxbUwBSS57yxf7PRVKmJMxzYeA2ru5Ir3HleTGzAkZ3VXiWBWXaHCE9W VqYGB7qGVoFEmiJNHkLaEhrYoeP2nxEimb0jIzOO/VnLWt+RHD8h90/UnSmculnnqbVsFy wr0J8udScJI3LTvAlLCJx1yYC3VTV9edvVs1s+Y1a4bo5s3kz4BbkdkO3xHCdqUjgAFfxP w0NO4EsFW2SfNkbA4whJoKM5L8vv3i3AOylX6WoLKR+jP1u+iohkNM35Zqb+UszJNuZCmA rKOr0fqX6s+1RDW+h9TQ/koIgzHR+KIFKurPK5cG7a6hWN0NZYUJP4a1c/y4Wg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b="boui/HsX"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.96 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b="boui/HsX"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: A5CD098E5 X-Spam-Score: -2.96 X-Migadu-Scanner: scn0.migadu.com X-TUID: wslKoT6agBHw Hey, On Sat Aug 13, 2022 at 3:34 PM BST, Tomasz Jeneralczyk wrote: > > In addition, this substitution should be done in a phase rather than in > > a snippet, because (1) the result of =E2=80=98guix build -S=E2=80=99 sh= ould be > > platform-independent and thus not include the file name of =E2=80=98mpv= =E2=80=99 for a > > particular system, and (2) the reference to variable =E2=80=98mpv=E2=80= =99 at the top > > level can cause problems due to circular dependencies among modules. > And if I understand the 2nd point correctly I should use something like= =20 > `(assoc-ref inputs "mpv")` instead of `#$mpv`, right? I cannot use=20 > `(search-input-file ...)` because the name of the mpv's lib is=20 > determined during runtime by the python code and I didn't want to=20 > hardcode the mpv so file's version. No, the assoc-ref style is basically deprecated last I heard. The problem is with snippets: apparently something with the definition of the `snippet` field can cause module dependency issues, whereas `arguments` does not suffer from the same. IIRC, the issue is that the former is not specifie as a `(delayed)` field. So, #$pkg is okay in arguments, but sometimes not in snippets. -- (