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 YNgIFHUo8GLT6QAAbAwnHQ (envelope-from ) for ; Sun, 07 Aug 2022 23:02:45 +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 EOsUE3Uo8GK+lgAAG6o9tA (envelope-from ) for ; Sun, 07 Aug 2022 23:02:45 +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 04ACF1120F for ; Sun, 7 Aug 2022 23:02:45 +0200 (CEST) Received: from localhost ([::1]:36868 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oKnQ4-0002C5-7b for larch@yhetil.org; Sun, 07 Aug 2022 17:02:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49920) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKnPh-0002Bx-L1 for guix-devel@gnu.org; Sun, 07 Aug 2022 17:02:23 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:32886) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKnPZ-0004gE-Re; Sun, 07 Aug 2022 17:02:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=XfAp0fvS4qlz0tJdtxwz0FyhCYZm3vvpXAYWoKxlOXc=; b=CXiDwV8BZWN6fVbzcbn2 auPZN6/HDwxo9zwNu9nc4EBwvqgF2e6+0dbRMCxt8HtDQ/+jZT7TZVwo7ohhgGa3CiKJEFOvxZsML vWnRyQwXbXQTq5PnYzINPuK+Ngl5DlBPk9SJWldllxIFhqUxz8kXP68FlcF8AAP5bBSK9zz82malr wTF5t7up/GRIc9WgwDiJ2WfeY/LvXTfEtoceolOHJMgH520eiOKc2B5hqLh9rjSxaH796bbvtmFpx RPWA/sbR0BVpM8kx52JAQlLxMXtqaybqJiuKWXRPFm4vLT0scV3GOZPAu7SNPbzUYQd9aFwiHja/9 U7BsNHOjmfvR6A==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:50545 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKnPY-0007Sw-OP; Sun, 07 Aug 2022 17:02:13 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Christopher Rodriguez Cc: guix-devel@gnu.org Subject: Re: A Few Packaging Questions References: <875yj75r6t.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: =?utf-8?Q?D=C3=A9cadi?= 20 Thermidor an 230 de la =?utf-8?Q?R=C3=A9volution=2C?= jour de =?utf-8?Q?l'=C3=89cluse?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sun, 07 Aug 2022 23:02:10 +0200 In-Reply-To: <875yj75r6t.fsf@gmail.com> (Christopher Rodriguez's message of "Thu, 04 Aug 2022 22:50:47 -0400") Message-ID: <87bksvbwdp.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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=1659906165; 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=XfAp0fvS4qlz0tJdtxwz0FyhCYZm3vvpXAYWoKxlOXc=; b=N7PcGYiDAMzOCUiUtCM6oLfLStmnjSU8VDfPoFshqsKc3AW792/sIklBpOIuqQmScbqRnQ 8rlHbR4yj9/BTux9MnWPT3v+QqjU56ymWPIkt/mqvTJdC84FaVCpGf+fcgOt//zAOK8X+K 3qO11KXdXEyV02usLcRASX4FLQRCUHoDVUPW8Vvmv9i/uFH80EAj+2mtNEGsX3Sv7y05ix bqEm585HAG/OiSjcS4Vg7LlSi5u9vOQ8BLcmlGXWpSR0joXaPRnZTUNh31GuCgyZ64DMXo NKaoHEDf//epn5ZNu5jCY+VInEIb/BdkrtO5teExP3bOiM5fAg7dflJDrTkW3w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659906165; a=rsa-sha256; cv=none; b=k+U13buf3PmxaoUNMqYC3nskxkvi2GPKZzB4gvOuKt6Cr3xOlKNXhCpg+caAoYFU9Lk8R5 Gdu6qkZiQ+YsVpPS4X2fSMUJaTy5xlgbzPNluHJObmWrrl03zTaCUwNh8SAduVAK7Tmukq 6tQrteIJC2VofrmY7xxIW7vot90gNHktJSmzEfKjYcYZFNsDyrlsekgPYdZjPByOWc8nnh BrhEFCOSe7e7BTI5ei58kMtOEfZ8dQ4nbzpjUcN8GyBluy7Hrs6cUCuTGqdUvNDBXFUcw/ GCvaxhnp2YSTu3I6u5wNyvY/90DSyONV/OtzOz8VN/MWkkhIIbCI+kdneB7vyQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=CXiDwV8B; dmarc=pass (policy=none) header.from=gnu.org; 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: -5.09 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=CXiDwV8B; dmarc=pass (policy=none) header.from=gnu.org; 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: 04ACF1120F X-Spam-Score: -5.09 X-Migadu-Scanner: scn1.migadu.com X-TUID: nEbXa1LBvWt9 Hi Christopher, Christopher Rodriguez skribis: > Hello All, > > 1. Is there a way to call non-exported procedures from a module in > Guile? In general this is not recommended (if it=E2=80=99s private, it=E2=80=99s f= or a reason; plus the compiler might choose to inline the procedure at its call site(s), in which case it doesn=E2=80=99t exist as such at run time), but i= f you really have to, you can use @@ to get at a procedure, as in: (@@ (guix build ant-build-system) strip-jar-timestamps) > 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. #$output is an exception, a trick to refer to the output of the derivation in which the gexp appears. Other than that, you can think of #$ as =E2=80=98unquote=E2=80=99 in regular Lisp/Scheme. > 3. What is the canonical way in the new input system to reference a > specific output of a package? You=E2=80=99d write a list, like: (list guile-3.0 guile-json). Check out and related parts of the manual, and see for a longer discussion. > label 'openjdk' does not match package name 'openjdk:jdk' You can ignore that; we should fix that =E2=80=98guix lint=E2=80=99 warning= : it was helpful with =E2=80=9Cold-style=E2=80=9D inputs, but it wrongfully flags ne= w-style inputs, as in the example you give. HTH! Ludo=E2=80=99.