From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id iMwkIrmiamI1wgAAbAwnHQ (envelope-from ) for ; Thu, 28 Apr 2022 16:20:41 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id KFoQIrmiamLgRwEAauVa8A (envelope-from ) for ; Thu, 28 Apr 2022 16:20:41 +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 C7A48E483 for ; Thu, 28 Apr 2022 16:20:40 +0200 (CEST) Received: from localhost ([::1]:42640 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nk50Z-00060M-UW for larch@yhetil.org; Thu, 28 Apr 2022 10:20:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37234) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nk4zd-0005wk-3r for help-guix@gnu.org; Thu, 28 Apr 2022 10:19:41 -0400 Received: from sender4-of-o50.zoho.com ([136.143.188.50]:21067) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nk4zW-0002E8-V9 for help-guix@gnu.org; Thu, 28 Apr 2022 10:19:40 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1651155570; cv=none; d=zohomail.com; s=zohoarc; b=JBhvo4kwKU2uS8lk3W6P7p6DPlAq0KFo+nwBd8KRWsv4OBIu7xG61LCaQdIWmFWb+uzF6a69F3I7wcEoBHdmkF98aYfbG7i6WQZUDl6Hh8TTak+pdLte3aNLh5+8ejXVgWpGZOkWUkx7WMZADLmpTlPXiHrJfjBCb8JavAVco9E= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1651155570; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=2wjPEm/pj/JwQV0854PVVNcsNE8h44uFZj7aZsKms98=; b=kTTuri0Xcj9Y+Djrl8W0GPYLNLxd7wFP3oVM8mGWAuxTRG8/ew7zLSMrYL9zxPwQLSeeIfCOrlUApPENzFakx3oJ3EsSjHb762DBgT2RnR3dBQIqEQGF9ebdd4q4TTte1yW4oZ1sWL480jvBvKKMn+kDKBKPMkYCzp14qVF5c2M= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1651155570; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:In-reply-to:Message-ID:MIME-Version:Content-Type:Message-Id:Reply-To; bh=2wjPEm/pj/JwQV0854PVVNcsNE8h44uFZj7aZsKms98=; b=YIUJXLl04wfC61k09onE7Rn5QcrRYn3qN7JwF0n/ltCvvlO/An/XXEm+VOd+eDje D+8mPBria0CnLhHTpisSSMbfOiyI7xzEMfAlbubO4N+GUbQZK5BpVpJRf7EobnymZhe No2B+h9nNmu9PfMxrU3qbj83AbaORm3CsKYclA8Y= Received: from localhost (227-108-142-46.pool.kielnet.net [46.142.108.227]) by mx.zohomail.com with SMTPS id 1651155569170433.00099156017586; Thu, 28 Apr 2022 07:19:29 -0700 (PDT) References: <877d7joe2w.fsf@laura> <87levx4ui1.fsf@gmail.com> <87ee1pur82.fsf@laura> <86mtg5eibr.fsf@gmail.com> <87mtg5qovg.fsf@laura> User-agent: mu4e 1.6.10; emacs 28.0.50 From: Ricardo Wurmus To: Olivier Dion Subject: Re: Questions regarding substitutes with debug output Date: Thu, 28 Apr 2022 16:18:21 +0200 In-reply-to: <87mtg5qovg.fsf@laura> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Message-ID: <874k2d2sup.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.50; envelope-from=rekado@elephly.net; helo=sender4-of-o50.zoho.com 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Olivier Dion via , zimoun Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1651155641; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=2wjPEm/pj/JwQV0854PVVNcsNE8h44uFZj7aZsKms98=; b=BeIiPvAXRoY/kFZkFrHFy2UJGfwqc8NU4/hscTjAIcn+g0o/AUXvkd+rmDwSswcDH2nXOT FvXvcbQ5y/YjbAPbOXH5j3KAEOHzwak/jbHeyVvp1OvA9lm3RGiQIlM26e3wZ9EfZsYHpE ukoqm6pPBazwSiCPVWBEW3iyI+UZrGhA1F1fs2+dOn0Zu9oJPJW4Oakk7mR5Fj5qBdUaRS CDlozeuUjLJyMgboyRthz3CRv40IB3OYnfUJZYz8ymT6XB3843+b2fT6xRxStK3hPqBcE8 ZQujtaZEFJ11hBlMniORW54rNKThzXHn6K5C58FzYavdqi6eqHAQV9Di6eoHTA== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1651155641; a=rsa-sha256; cv=fail; b=lTq5IF8rTrvXAkHiNI6RzjjHOLc8Zm/gxs2ra5xDlIfKrFC4f1T47tbs1bsv60RH1P+RJW yg1FSzk1SewyjGbGKrv5fqkzyec9PeYWWpHRrzFLXar4B0jnBmt761nW+xM8suhQqhpQsZ xlzlOD1cn8TOUZsvs0B0psl/QBgzj1Vwuq44Pzb7Mst4MlT6cUEAJNIb1xKZ33+lB3NMAv P8xDYrsF6BHkl6NJBAuhEE7A82n9y72uJJeSd2hm1zHXLYdgmV8UbbND85oweIUNEWmWxB CTdzsJK7Ter0tGl4tCELjSy9WUA4fvqENU71zSTmHyIvdDiMKJUgyti+xKgepw== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elephly.net header.s=zoho header.b=YIUJXLl0; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 2.20 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elephly.net header.s=zoho header.b=YIUJXLl0; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: C7A48E483 X-Spam-Score: 2.20 X-Migadu-Scanner: scn1.migadu.com X-TUID: kUUlVN8YNAUY Olivier Dion writes: >> Therefore, since your question is rooted from GWL: >> >> I need to specify the package programmatically as a string in >> Guile. More specifically in the process packages field of Guix >> Workflow Language. >> >> maybe GWL could also accept a symbol instead of a name string. Well, I >> have not used GWL since many months and I do not remember but I think it >> is doable. Ricardo? > > In my case, I prefer to avoid using package object directly. As > mentioned in GWL' manual, the version of Guix running GWL and the > version of Guix used by GWL (the inferior) might not be the same. Thus, > it is not okay for reproducibility in the long term. In my case, I use > `guix time-machine --channels` as the inferior. The process itself could specify channels to use for its environment. Then it would be self-contained and reproducible without having to rely on time-machine. -- Ricardo