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 kN9bJXVI7WKnXQEAbAwnHQ (envelope-from ) for ; Fri, 05 Aug 2022 18:42:29 +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 KFtmJXVI7WL1GwAA9RJhRA (envelope-from ) for ; Fri, 05 Aug 2022 18:42:29 +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 5226A347D0 for ; Fri, 5 Aug 2022 18:42:29 +0200 (CEST) Received: from localhost ([::1]:54528 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oK0P6-0006Dc-FO for larch@yhetil.org; Fri, 05 Aug 2022 12:42:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45806) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oK0OV-0006Cb-CS for guix-devel@gnu.org; Fri, 05 Aug 2022 12:41:54 -0400 Received: from mx0.riseup.net ([198.252.153.6]:46202) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oK0OT-0004py-6q for guix-devel@gnu.org; Fri, 05 Aug 2022 12:41:50 -0400 Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx0.riseup.net (Postfix) with ESMTPS id 4LzrwB23Pvz9t3x; Fri, 5 Aug 2022 16:41:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1659717706; bh=Z9WKzXEP1gFXo2vvfnggHDkCUGJ44kZ6BXvEAtKGeEg=; h=References:From:To:Cc:Subject:Date:In-reply-to:From; b=Sl+UEi6f1hDAaj6asypeCq4cfjItvW5x7OY7Npe3UxinDNmkbyPihDmEVbJDf2L97 a67+DIaj48Npq6qYXcMr+C4F6qJrQlpXkSVH6yR7F1wJlX5yT+J+kcWZbIU3qKzLF4 hCO4l/c8Ta2xxMYidoW09dWbqpW4c61cqI0cYRi4= X-Riseup-User-ID: 109B473E32B5219C7BEB3EDB4AB004B13D5B4B1554897BC3FC0ABD8199040A6A Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4Lzrw941vzz5vQt; Fri, 5 Aug 2022 16:41:45 +0000 (UTC) References: <875yj75r6t.fsf@gmail.com> From: Csepp To: Christopher Rodriguez Cc: guix-devel@gnu.org Subject: Re: A Few Packaging Questions Date: Fri, 05 Aug 2022 18:35:32 +0200 In-reply-to: <875yj75r6t.fsf@gmail.com> Message-ID: <87zggihcca.fsf@riseup.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=198.252.153.6; envelope-from=raingloom@riseup.net; helo=mx0.riseup.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, 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: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" 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=1659717749; 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=iXPEuBQVJYVIkrkPneEH1wVm6y2O688Ddqf6w2m1g0M=; b=LGpsUkjYWd3BUCc1z4QAufePV7+3GlWjqCmKznvAjG9JDqfRJu+336mmOCtxRoeG8kMdej MUkYo2PPi50FH6E/TBA0MdgpYkkgGEXLRKS8CRfa3RwllA4X6xcDBI7qHNu5ktaSXcZsy3 iOSU9JdqwBCrM6vLGXhCOmcDUtLALLWJI0xgDlLMfEmNnzfwFFUR7cFAQFd9ngu+l+ZVm4 d6w7y8kkjKihXtcz9hY8PXYgrZHciDPaiG5egvLbCP/s4GFd+d4qp5lzYUdjkTo4ERjnFg TuuM/SubdUD+XqxD7s0dvv6QSUf9xltfUajcjgNXzFaj5Jycvfgz3+ZVRRAQfA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659717749; a=rsa-sha256; cv=none; b=GW8LkuIpVFVylYdLQfdIfYYQhryQq1JL6bSfnruEGISBvMOMyUtBLDsXm46Oq3f4bsayMm AP0ti/7F3D2RX8CCCQfXT6Rj9ypQpqZMwzB2LutwvYxd7kGZkL8ofiW4BKu4EDVDPxQaIe hqJLrn15BYAgYNI8zTqO0B6EFe5imYjkYH+h5AjxNl1MbMKyimlpCJZA4R7zCB4b2l1O1H ku8UoJJ97Osaie0UFuJqGniEbAZE1Wr83YVB7PSEzsEa58sxFdotFHaHcxslHDTJfYnQBu Ll9dSci3EpfX504rSeZriqdzArpy8f7GJq/PSYnsnTzmmGLzD5yfhaVVgyb4Hw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=Sl+UEi6f; dmarc=pass (policy=none) header.from=riseup.net; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -7.50 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=Sl+UEi6f; dmarc=pass (policy=none) header.from=riseup.net; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 5226A347D0 X-Spam-Score: -7.50 X-Migadu-Scanner: scn0.migadu.com X-TUID: VIWoTYKVV75a Hi! Christopher Rodriguez writes: > [[PGP Signed Part:Undecided]] > Hello All, > > 1. Is there a way to call non-exported procedures from a module in > Guile? There is one but you should not use it. Instead you should send a patch that adds an export to the previously private declaration. And the way is to use the @@ function, but code that relies on it is AFAIK not acceptable in Guix. > 2. Is there a list of variables accessible using gexps somewhere, or > some source code I might be able to glean the same information from? > > I have just discovered #$output as a somewhat useful tool, and I'm > currently looking to learn more ahead of when I might need them. The info pages should have more, well, info. Easiest way to find them IMHO is through Emacs. There is also an HTML mirror: https://guix.gnu.org/en/manual/devel/en/html_node/G_002dExpressions.html#G_002dExpressions > 3. What is the canonical way in the new input system to reference a > specific output of a package? According to the URL above, it's #$output[:output]. I hope that helped. Happy packaging. UwU