From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 WJVKE2wUbGJiVgAAbAwnHQ (envelope-from ) for ; Fri, 29 Apr 2022 18:38:04 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id APQSEmwUbGJmSwEAG6o9tA (envelope-from ) for ; Fri, 29 Apr 2022 18:38:04 +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 D0FEE353B1 for ; Fri, 29 Apr 2022 18:38:03 +0200 (CEST) Received: from localhost ([::1]:42102 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nkTd3-0008Ia-9i for larch@yhetil.org; Fri, 29 Apr 2022 12:38:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53040) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkT6H-0001qD-TB for help-guix@gnu.org; Fri, 29 Apr 2022 12:04:10 -0400 Received: from sender4-of-o50.zoho.com ([136.143.188.50]:21030) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkT6F-000435-Pj for help-guix@gnu.org; Fri, 29 Apr 2022 12:04:09 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1651248244; cv=none; d=zohomail.com; s=zohoarc; b=IXGx4mASF3NJcsC22J22yE9YAY7Lo9Ee3sorBi9OteLJQ1LSSsmMlmc4asBhmUVb5Z+mS4tkBeWsJpBCqou2BO9TdiYb9rFPnKoopTbnilvon2oKxGjm4IOmuiMv1hIM+by/CwpV2HOPurGG1dl60oDi38TggH7/b4fMZsyL3As= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1651248244; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=CnuSjeMQ0jjXDLa7lNxZZQBheCKsoTOPUiZfedc8f1A=; b=MOEXLR/3EOIAPs/29KPuyB62syFT5eza9LmH8F8Cpk55+Elj3Rfv6dUnP3fFasGJkgEV8X1hJvF6LccKwYEODHK6KwFZdnWzBvEahQjOT78YwakKOLvxdrLZoWj2gcVNKfGLXa5gzcnlKy0O0SfqxcojKe/yjQoxPBWQhro2l2g= 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=1651248244; 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:Content-Transfer-Encoding:Message-Id:Reply-To; bh=CnuSjeMQ0jjXDLa7lNxZZQBheCKsoTOPUiZfedc8f1A=; b=cnZ7c6S/ffvgTZUNOnJAitVU+aGPy/s++8hrqGpcOASz68nGMSlDxTUcboUyKN7g EQGTyFX4y9FFmzZdzA6+gWVAb7rI552pdkjAFc093mJiuZSk2woMCSXnGZ7a4wEfbyd L6dbbrAjtnoHh995cLXVsAWDLT9Or6rKk+HeVup8= Received: from localhost (143-111-142-46.pool.kielnet.net [46.142.111.143]) by mx.zohomail.com with SMTPS id 1651248243089808.6512966439336; Fri, 29 Apr 2022 09:04:03 -0700 (PDT) References: <877d7joe2w.fsf@laura> <87levx4ui1.fsf@gmail.com> <87ee1pur82.fsf@laura> <86mtg5eibr.fsf@gmail.com> <87mtg5qovg.fsf@laura> <87ee1ge0k4.fsf@gmail.com> <87bkwkq73s.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: Fri, 29 Apr 2022 18:01:04 +0200 In-reply-to: <87bkwkq73s.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: <87mtg327ww.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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=1651250283; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=CnuSjeMQ0jjXDLa7lNxZZQBheCKsoTOPUiZfedc8f1A=; b=gvKtJSbcbbdyG1TnNZZ+pL2OU12TqZp9bgH5AGl+v9yRBVYby6pWb0rmWCzB1BlQpvEyMc oQkOLu50jHStgEFIg4IDDFb01pzzOW6aonSuyyEvY2nFgLSVwnVGmLs4ukGgfnPP/oLdTO COtxYo//dvNlZ74TJW4w7ZLZjqJfWveXov4XEA29ekQv8mcqg0mwrT9xzFQDNFckoxXfc+ 8WYet4sInTp4/lQ587dTOGIchzQ8yIJoAIzGI2ig49E+JngMrEtOTTw0S4ew/FRiZx+vgC pm9Tog6vBE5+ygWT8IpdzIhlRVMhWPyD14cDAoTmHloZVYz08kipLYidFS6Acg== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1651250283; a=rsa-sha256; cv=fail; b=gE2d/OzTDFCjI9H1HQ0UuY8VZLJ6TycezLpQ6J6jFNISnWD7xQUtWtDOjfpYkvVyhuej7W NHeXNOpPsyiIvzQMQ+DI8KV7K2eMaI3rkCapM8p4zsnvWWLRGosrwkXyRKB2fJ0PD2GxSX hUjXg/tDzkO8q1has+3MeGgDKQz/40sCqO4PTwPidF+IFJowcWWeBYRF+UJn0yN0uTRLyl OQh3gkofxcLQ3xopvN2mwxFBvllxdYOF/J5xNugWL0SRRiistyzXrfsffq7MUGr75aDtNb ev472khMKswwMxnKqy4Emykd8Ty04DEMdjyr0YBEWn6famjwYm+0uHdn74BiHw== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elephly.net header.s=zoho header.b="cnZ7c6S/"; 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="cnZ7c6S/"; 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: D0FEE353B1 X-Spam-Score: 2.20 X-Migadu-Scanner: scn1.migadu.com X-TUID: z3UPRa3Y7I3O Olivier Dion writes: > On Fri, 29 Apr 2022, zimoun wrote: >> Hi Olivier, >> >> On Thu, 28 Apr 2022 at 10:11, Olivier Dion via wrote: >>> On Thu, 28 Apr 2022, zimoun wrote: >> >>> 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. >> >> You wrote: >> >> I need to specify the package programmatically as a string in >> Guile. More specifically in the process packages field of Guix >> Workflow Language. >> >> so I do not understand why it would be an issue to deal with the package >> instead of the specification string. Because your need seems =C2=ABto >> specify the package programmatically=C2=BB. :-) > > Because importing the package using use-modules would yield the package > from the instance of Guix driving the workflow instead of using the > package of the inferior! GWL will lookup for package in the inferior > context when the package is a specification. > > Even if I were to import locally defined packages, their dependencies > would come from the Guix's main channel! What would you think about WITH-CHANNELS that would accept a list of channels and evaluate any package reference in its body within an inferior of those channels? E.g. (with-channels %my-channels (package (name "yay") =E2=80=A6 (inputs (list foo bar baz)) ;these are all looked up in %my-channels =E2=80=A6 (license gpl3+))) --=20 Ricardo