From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 EJkIOk8SbGKQ2QAAbAwnHQ (envelope-from ) for ; Fri, 29 Apr 2022 18:29:04 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id qLO6OU8SbGLfQAEA9RJhRA (envelope-from ) for ; Fri, 29 Apr 2022 18:29:03 +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 7C3AC2DAEE for ; Fri, 29 Apr 2022 18:29:03 +0200 (CEST) Received: from localhost ([::1]:55864 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nkTUM-0005tj-AQ for larch@yhetil.org; Fri, 29 Apr 2022 12:29:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56166) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkTKM-0003j2-9q for help-guix@gnu.org; Fri, 29 Apr 2022 12:18:44 -0400 Received: from smtp.polymtl.ca ([132.207.4.11]:57225) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkTJc-0006O4-Pg for help-guix@gnu.org; Fri, 29 Apr 2022 12:18:28 -0400 Received: from localhost (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) by smtp.polymtl.ca (8.14.7/8.14.7) with ESMTP id 23TGHk5Y002294 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Apr 2022 12:17:51 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca 23TGHk5Y002294 To: Ricardo Wurmus Cc: zimoun , Maxim Cournoyer , Olivier Dion via Subject: Re: Questions regarding substitutes with debug output In-Reply-To: <87mtg327ww.fsf@elephly.net> 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> <87mtg327ww.fsf@elephly.net> Date: Fri, 29 Apr 2022 12:17:46 -0400 Message-ID: <877d77rhhx.fsf@laura> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Poly-FromMTA: (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) at Fri, 29 Apr 2022 16:17:46 +0000 Received-SPF: pass client-ip=132.207.4.11; envelope-from=olivier.dion@polymtl.ca; helo=smtp.polymtl.ca X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-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: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" Reply-to: Olivier Dion From: Olivier Dion 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=1651249743; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=VdnjIyOoHDgCVRIIIiiXIvLx/cWDIE+8fftM9m+NdAI=; b=Q9FHTVNnHULYstnx4Iee+yOx83w/FKKmMY8l9/PJ4TBtPR8SDHeYYpoOYdeP3x3wVHta9x 1jH2+wG2AmLADSpbQIfwJwWMQ2Qec80hpZoeLB4RnbDmBxjTo5AXvhb2ciJ5F7UvHzJdu9 j1Ta7qHI7dsUE9xOF7+14MRzm+JxFKk6y5idkjdKiP6OMfbjwTymlnusfh/c98xnLpv81P 67qznRTn4kkmOtG0lQPP/Bqrq78L6M5bsFbaxcgg4qP6s95avj7qSJZ/Cezu1M6pH3HtMD ELKmLMfZmOJxfcl8RKqseYDUVDd/88hHLoq7Q0rzRv2wPAp4G5TxbuBa1g9+Hg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651249743; a=rsa-sha256; cv=none; b=NkYyJ7k7+dwajdgqSFbn3dLPtVnIhFwp496N8W6IPbyIMiWzbgC3d4zr1U8wKXJ3eHoKh1 +GUZ0KkLEPR0I1I4knF4e0rd45YTsJMbxyEX9wyUYdWA3suwjQXbwtByBiAYWrVJ8+eyC+ iZwdY70p8xAIFBAbnqoeQjH8gElFDTbrtiAVQ3LYfoC9Xexj0LZ2wXXwVVPzJcq0bO9bCg tx3krlAheS1yvMU7CBY+3HYZ+tvfIbM3ML4tA3iltgr1GQ6vPRpvF8RFvVqR+bupw/KgyT SJlWpRCeW5JPT5ziTooyoYNffj5Q5q3q7PMPYobhtJ02fZ/a/HBdjKhcyRDf/Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: -1.50 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: 7C3AC2DAEE X-Spam-Score: -1.50 X-Migadu-Scanner: scn1.migadu.com X-TUID: 4CqILAFn1F5n On Fri, 29 Apr 2022, Ricardo Wurmus wrote: >> 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+))) What about dependencies? Says I have the following graph: G <- Guix's channel C <- My channel P@V <- My package at version V from C D@U <- Dependency of P at version U from G The `guix time-machine` allows me to pin the commits of G and C and thus pinning V and U. Would that work the with WITH-CHANNELS ?=20=20 --=20 Olivier Dion oldiob.dev