From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id QDKBJQ5YamIAJQEAbAwnHQ (envelope-from ) for ; Thu, 28 Apr 2022 11:02:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id CO2UJQ5YamK/TgEA9RJhRA (envelope-from ) for ; Thu, 28 Apr 2022 11:02:06 +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 D0809E393 for ; Thu, 28 Apr 2022 11:02:04 +0200 (CEST) Received: from localhost ([::1]:52946 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nk02F-00045u-SE for larch@yhetil.org; Thu, 28 Apr 2022 05:02:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54818) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nk00Y-00044H-5E for help-guix@gnu.org; Thu, 28 Apr 2022 05:00:20 -0400 Received: from sender4-of-o50.zoho.com ([136.143.188.50]:21065) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nk00U-0000jL-0t for help-guix@gnu.org; Thu, 28 Apr 2022 05:00:16 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1651136409; cv=none; d=zohomail.com; s=zohoarc; b=PNH+KLJJTEs9wR2Y42bceAswqM3Tn0EgwkJBDZNKJViumP3ExrqBIzYGjaJU1pxcSePol4jkRDM9K6Kh5fubtahsEoejNrHjYSblAkg7XgfbLXU27UnJ5roGDup0CdhUq7XAK49Yby4nx8lxgM+JkUCaNeXJSD8qnOTabvg9zNk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1651136409; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=DNr4bmPa2h5OmxPGCh/tZmSwe6/Cv9EoX93frdkEuN0=; b=RihBryxNRANQx3dmqJQuCCHTqnR8eyjw4LxY+fx+W5KEU/oGC9KCuiwTcwMpPy4R3+HuvJjBsifXbmBZ0/EUecR4mLKZ9D+FzRaHAMu+Y4MCLl8KcXpe1smgcKJBEAKf9CdXeKLGsCb94ChcDNI+jVjAXTKKfFiQjhY1rJ7WWrQ= 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=1651136409; 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=DNr4bmPa2h5OmxPGCh/tZmSwe6/Cv9EoX93frdkEuN0=; b=MWynTpDIU3IS/qA+ymVhRnsuXA9VcFDURqhilQOGrDRSa4LmEWX+Dr3i0BzlYUWI RvIRn8ma3KHXSAOAERipDFW90OsYbAe31aO+5U3jqNmphBF2F7AVn2O0HGQIcsflHNt bvbY8MhzE/7uf5FmnXOG4LsPALF9m0SPYWK1srJw= Received: from localhost (227-108-142-46.pool.kielnet.net [46.142.108.227]) by mx.zohomail.com with SMTPS id 1651136407194811.9903026213942; Thu, 28 Apr 2022 02:00:07 -0700 (PDT) References: <877d7joe2w.fsf@laura> <87levx4ui1.fsf@gmail.com> <87ee1pur82.fsf@laura> <86mtg5eibr.fsf@gmail.com> User-agent: mu4e 1.6.10; emacs 28.0.50 From: Ricardo Wurmus To: zimoun Subject: Re: Questions regarding substitutes with debug output Date: Thu, 28 Apr 2022 10:58:50 +0200 In-reply-to: <86mtg5eibr.fsf@gmail.com> 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: <87h76d37n0.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 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=1651136526; 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=DNr4bmPa2h5OmxPGCh/tZmSwe6/Cv9EoX93frdkEuN0=; b=Jsy1IK2LtQl3dqV2sKIJm8DwsvwgnG7Y5vrBDRe7Kqa+AbITMfa5Fj8jQbERo/FKEYItcP 9SyGE0yBbSDScsYKep940UCf3886um+j+J1x21JWKoDenU6ODpE+Dv+wDWlF+4B5jDL21Q a1bOoOETsYsb6bqSoJo5Lon4vv4SUMBzIGQtx/lKA8vv3jrF2xSiX4L7gitiq9qLCYbYmF DorxcW8D1guxcsJURjhSJGwIftA9aUFZm45/+wocFTcDy1sBRMZH8iWwzDy+qOt3fZ5FpM fCu3JwGJB5cfhsZyY3fa6hp7ZLsjolqO4VFVHhkGvNTNHsVGvAZWCFZsHn1Rig== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1651136526; a=rsa-sha256; cv=fail; b=TFZS+QBsjnVonSTnaalLkSQptymEOHOvEKVeA2r1RbNxQqCle4aM4yKUpcAsDy7Tpgl79C c6aymvvN7HggqOgn05/tkcZjr+tl6d8pvJ9A5ik4fQ4Q5QhPqJWQFKGOEFFhDiH6/sMd+A uH+2tZ06zH+w4XwdbqvFwXXttlO5ZoAjDU5CsYL5M2cq7qdGkjyw82fYKGS+6+E1e66iyk UV4CpfpccUAqitAlEHbGeqm9XhNAbahUc+zAjURczYk9JkM6B23rkPx2UjWL5vLU7Rf9bV xN+goh53QPDEnS4XRFb0BL9gFUXx4xQIia9wim6XAmX4zc7EuQDyAwr/UsHdBQ== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elephly.net header.s=zoho header.b=MWynTpDI; 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=MWynTpDI; 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: D0809E393 X-Spam-Score: 2.20 X-Migadu-Scanner: scn1.migadu.com X-TUID: a+qauUFRNqMu zimoun 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? GWL accepts specifications or package values, so you could use (@ (my packages foo) gcc) to prefer that over some other package with the same name. -- Ricardo