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 0JN7NJcVJmOpYgEAbAwnHQ (envelope-from ) for ; Sat, 17 Sep 2022 20:44:39 +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 EImIM5cVJmNCigAAG6o9tA (envelope-from ) for ; Sat, 17 Sep 2022 20:44:39 +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 840D137C7A for ; Sat, 17 Sep 2022 20:44:39 +0200 (CEST) Received: from localhost ([::1]:59180 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oZcnu-0003pl-MW for larch@yhetil.org; Sat, 17 Sep 2022 14:44:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39866) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZcna-0003ow-EK for help-guix@gnu.org; Sat, 17 Sep 2022 14:44:18 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21125) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZcnX-0004py-KD for help-guix@gnu.org; Sat, 17 Sep 2022 14:44:17 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1663440246; cv=none; d=zohomail.com; s=zohoarc; b=GqfLWMFPPspa9CocFjDtloxXgd6zNXrz210/YB0GwoPmZTnNTmEEvIUFgX9RFEl/qa3jP2LT2WlmxtdF3J41NpGo+0kHHAan+CbMFtBvkGrVs1Q+oBi8UYGnl+xJwH1QNVDIHZVd8bMQlebiqMIG65/MAj+kS5Y9xKsjd2HgH2Q= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1663440246; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=JUl2UnmRKBzsPNQLdDKS5Ad2N4FpXsFjWoykw3+j94Q=; b=erlZF/nmnJ7uWJ57FRtn689SXWfUVXfRDLcXnE1Q8pDFCTZpzJHVMkcb+kuhjn2hOPMhN2ncEgFWtQ3bhaJ+o9pvpVS7YgRzKLooafoINihitjNdDbb94WWe150Cw2ReB6z5Y6ikf8ckmwSZJNsboU6ZGdz19A9G8VAODSgueqc= 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=1663440246; 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=JUl2UnmRKBzsPNQLdDKS5Ad2N4FpXsFjWoykw3+j94Q=; b=TJz8TfZM+GKoHdNXOx4HT6X7jDHPzvnVYUZwyWi5qeUb50F/dUxwrWmEtaefbYjX 65cnqg/l/c8rimixvF9tEQz/2hv87k0bbk6y+fu7kz4PLFoflNtHOlh1Y2hUkoHQsgn 8WyIX4vkH/RSKvZJ3VyMb/l2r4DnXRETHwfx8OqE= Received: from localhost (112-111-142-46.pool.kielnet.net [46.142.111.112]) by mx.zohomail.com with SMTPS id 166344024556268.39712173046769; Sat, 17 Sep 2022 11:44:05 -0700 (PDT) References: <20220917110336.GB18579@dismail.de> User-agent: mu4e 1.8.7; emacs 28.1 From: Ricardo Wurmus To: jgart Cc: help-guix@gnu.org Subject: Re: Why is the scheme record needed? Date: Sat, 17 Sep 2022 20:41:43 +0200 In-reply-to: <20220917110336.GB18579@dismail.de> 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: <87sfkpj0y5.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.51; envelope-from=rekado@elephly.net; helo=sender4-of-o51.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 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" 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=1663440279; 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=JUl2UnmRKBzsPNQLdDKS5Ad2N4FpXsFjWoykw3+j94Q=; b=db7J7d/oC4FqTmXTtGDZ44UaFi5pRjIDbaof+/DbwWxoKGVKBVbs7PU2Cj1/FLob4KagVP YC35LMo/XA4JPjU9GUdDlckHQD7vY+BgJYLgpYl5TV1m6v2mUzUJSemSeFcNYPBLF5+4FE wyWpT80h4bcta+/u1mjjjgmr9rbRcb7nfU8Oc9yagaoX/C+g0BVB97P7DatM5ZJW700JIe yCIkkuyzIz7bMZqT65+rBOWRMh3H8yTSr7gh3pmK//TpP2EhuPVAvUI0zXym+a3BvVV5R6 h1L0abs3gSao//F/ovSrR8ie6VzW105VVnUOfybSjqUQsH7mXDC9QMXN6b48LQ== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1663440279; a=rsa-sha256; cv=pass; b=g12DSDElFMc7vLHWYdJr62GpMK8cFs1boWjf8wUtg3OpMuO+oVMD5AbU5xQhxsd7dNHB7S YeUgSNzOr7e04iTHJCJZue7vSMJRLNk0U5qXnD5QAyXFww9345VnAxlZ+P5JxuadotQE1p nDkdwDuGo+eLBa69wmoZfsT04BxON4YtXyZKmtuBTnoosd1LtPBDCTPlRgFlC6KVrcb0JO MMqFaV6ltgq4P0efYcZWsJpqv1ngC3ohDbVjLNxWdFqSVhrUPZyNqVJkgANk5wqPC9gvS+ r5yrV698yffJKpn5zO/Te+8Lb4sOE3bAnHlgIcPm2XwCLwvNgPwzos9v1GRNbg== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=TJz8TfZM; arc=pass ("zohomail.com:s=zohoarc:i=1"); 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: -3.34 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=TJz8TfZM; arc=pass ("zohomail.com:s=zohoarc:i=1"); 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: 840D137C7A X-Spam-Score: -3.34 X-Migadu-Scanner: scn1.migadu.com X-TUID: 9BWOYGRNswwp jgart writes: > Why is the scheme record needed? It is a Scheme representation of a derivation, which also has an on-disk representation. > How does it function in Guix? Everything that the daemon is asked to build must be compiled to a derivation on disk first. From the perspective of the daemon there are no first-class packages, only derivations. Much of what Guix as a library does is to turn package values into derivation files and builders to feed them into the daemon. -- Ricardo