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 iI/XM8hr6WJ2VAEAbAwnHQ (envelope-from ) for ; Tue, 02 Aug 2022 20:24:08 +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 eP6+M8hr6WJVWAEA9RJhRA (envelope-from ) for ; Tue, 02 Aug 2022 20:24:08 +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 A44133B56F for ; Tue, 2 Aug 2022 20:24:08 +0200 (CEST) Received: from localhost ([::1]:33180 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oIwYp-0006Pf-OY for larch@yhetil.org; Tue, 02 Aug 2022 14:24:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35550) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oIwYd-0006PU-Cx for help-guix@gnu.org; Tue, 02 Aug 2022 14:23:55 -0400 Received: from lepiller.eu ([2a00:5884:8208::1]:35516) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oIwYZ-00026D-QW for help-guix@gnu.org; Tue, 02 Aug 2022 14:23:55 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 9ad5d2f7; Tue, 2 Aug 2022 18:23:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:subject:in-reply-to:references:message-id:mime-version :content-type:content-transfer-encoding; s=dkim; bh=eZcZhQn+dgdm nojMmdMZINi94seIkD6sXgk+lAn0src=; b=oBV3QrY7QkixFr0IdjdS69LoBw2m YzbOwYBn+6aXyoxkv3EyCAD7EWzoNw5nY8DkXADSqgD/FzJ8iyHkWb3xKxtvI9N2 jcSroNxvlQe615aQhrinzlvz+QENq7/DQFzHJMrkS77RvW1494x0UbxRqYGnR8FS /ujl/XTTNXvZ7PwDREojSxTRj6ZVQDqCvcTKGmfx6l7ljPMn1MxT1eyK/nDIhLl1 V/Po6caWhmoSyN9d8oJX5payyAjdwPRZN7TBSWbwqdmKXsxbFzClBxXZQQqZVPqj 5HvyKBDBtyRZjdpZLv38t6nYsNW/mZVbDDkwOq3JSkyMByRKDcBZjUvcsQ== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 9ed6a9fd (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Tue, 2 Aug 2022 18:23:45 +0000 (UTC) Date: Tue, 02 Aug 2022 20:09:01 +0200 From: Julien Lepiller To: Olivier Dion , Olivier Dion via , "(" , help-guix@gnu.org Subject: Re: Guix as a native-inputs ? User-Agent: K-9 Mail for Android In-Reply-To: <87r11yzi48.fsf@laura> References: <87fsif2473.fsf@laura> <877d3q225f.fsf@laura> <874jyu1wuk.fsf@laura> <165A44ED-EDC6-4C81-9601-9E91623628AF@lepiller.eu> <87r11yzi48.fsf@laura> Message-ID: <17139594-8056-4955-BD84-24CF556BAC57@lepiller.eu> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:5884:8208::1; envelope-from=julien@lepiller.eu; helo=lepiller.eu 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, HTML_MESSAGE=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 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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" 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=1659464648; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=oO+44xOW5N78wSEt8HXeCLQaXeapfoGLMSFU6ayhVpc=; b=kNLCFkru5iFysurKD0uISokg76GaCrBVo7MdYdGPyu0NqI2uAIf9OeafRRcphO1k/Z8K+w tXV8O8/YlFmSSpGiA2+T6tUiQqJm8gSdDdkShn71/YqvDvHmpTr4i9FbNiZ0WyumWOoeCb LX6N+RyriEBkMnE6mSq3BZhxQG+e7nBtksISccNK07aaPPLdRrBYsVEtm6GVlZKjzNVMpq JrlZF/0l1x2QrzDHZzw8SWEkW2rAmSSjc85KtPjt6dL7VPb0OKVMl3OdjcZMjJHeSeBRjc KLrpK4nzaW2pLVKtU3BRb2Oy293oUS7rgGZ5cWIsPQCQXfi4MUBJVzvhm5Igeg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659464648; a=rsa-sha256; cv=none; b=MWQB+1oYyIPar9Mkysgc+fEDtFqBgtjg0FFJSJFbXaKH8IQZMrUm7qo3gQVWXVL8SQiZRz byLABTneXsGMkavYjRR3auiAIit+b/Qlov2V0e2nUmwFxR/zqT1X7FGn/8we5UMLufHzjj 6buNzvg6Yrrm3xPfyTlWllQe/v8C5DJlfX47DHfVBj/nOUj2umXDkBXgjkOC0wDyOzrSul krpECkEljATJEqpCKynwjYnZhkiZC0jhGTjvoLGrnFERpT0IHgBdN439+T+SjH9kPfKOBR EIRGqnHhmE1BM9FTmfsxGFl+vEsniFMLS2V9dKzzVHNABE2/j1DGR0GDjHzSYQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=lepiller.eu header.s=dkim header.b=oBV3QrY7; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=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: 7.28 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=lepiller.eu header.s=dkim header.b=oBV3QrY7; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=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: A44133B56F X-Spam-Score: 7.28 X-Migadu-Scanner: scn0.migadu.com X-TUID: HmoslJTfHTwb I suppose once you get information about these channels, you could create a= n inferior with these channels, and evaluate your package in it=2E Le 2 ao=C3=BBt 2022 19:10:31 GMT+02:00, Olivier Dion a =C3=A9crit=C2=A0: >On Tue, 02 Aug 2022, Julien Lepiller wrote: >> If you're trying to access the build daemon from inside the package >> build container, that must mean you have a derivation you're trying to >> build=2E Instead of trying to circumvent the container (which is there >> for a reason), you could: >> >> - write a bit of Scheme code that returns that derivation >> - pass the result as an input=2E >> >> That way, you build that derivation outside the build environment, and >> you can refer to the result inside the build environment=2E >> > >Would that work if my package defines a Guix channel with variant of >Guix packages in it? That is, it would be possible to include these >packages in as a derivation? > >--=20 >Olivier Dion >oldiob=2Edev