From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SONeAjGIJ2J4LQEAgWs5BA (envelope-from ) for ; Tue, 08 Mar 2022 17:45:37 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id kKRPOjCIJ2LiZgEAauVa8A (envelope-from ) for ; Tue, 08 Mar 2022 17:45:36 +0100 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 3715E8160 for ; Tue, 8 Mar 2022 17:45:35 +0100 (CET) Received: from localhost ([::1]:39772 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nRcxq-0002UG-Q3 for larch@yhetil.org; Tue, 08 Mar 2022 11:45:34 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41374) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nRcxf-0002Td-9X for guix-devel@gnu.org; Tue, 08 Mar 2022 11:45:23 -0500 Received: from smtp.polymtl.ca ([132.207.4.11]:46568) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nRcxc-0003K3-Nr for guix-devel@gnu.org; Tue, 08 Mar 2022 11:45:22 -0500 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 228GjCx2012932 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 8 Mar 2022 11:45:17 -0500 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca 228GjCx2012932 To: zimoun , guix-devel@gnu.org Subject: Re: Package's inputs for developer? In-Reply-To: <875yoo4eor.fsf@gmail.com> References: <875yoo4eor.fsf@gmail.com> Date: Tue, 08 Mar 2022 11:45:12 -0500 Message-ID: <87lexkjsvb.fsf@laura> MIME-Version: 1.0 Content-Type: text/plain X-Poly-FromMTA: (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) at Tue, 8 Mar 2022 16:45:12 +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: 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" Reply-to: Olivier Dion From: Olivier Dion via "Development of GNU Guix and the GNU System distribution." X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1646757936; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to: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; bh=uWbUADasAgeRO3zDIe/QyN8J4j7dyOtPSN+KV7P4Ojo=; b=TqCNXnTb+/KEjIALqh9inLLQA0F0c1hu/0jFktDPfaNEEGlOXMpauNarYnnYbC/shn/835 KxbJJl3BfgrbD6PSpRy7lRruhmNor3k+TMuvkunJQ+322wI/3ZJmzkyIK7ufqUT5oBOTcD nI8/cHQuO64/a4bvCvBD2iVskC4YDQRIPqac2MV3vUi5jewv5fiuaaByRwRB6d4zRiNb8O K0eoIBBQlTena97BRgTxslutIqPPl10I5RtYpbaLHpYNzKKujYQoGlGVj5Ey+d9p+0BYmo TR8GRzxNl44IFoOtnLUwd3ExpWb0ZRkSrMiVoHlfOdufrWE9KzjawTD2EInCkA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1646757936; a=rsa-sha256; cv=none; b=MljrctppTnQ+G6HAsU/BYNSv391RzMoxnFXdMwPIcuYqDk389OM8dUiF1SP7CEGImMJkr1 J645JkKatDhduuB8INvYBITkzQ2LPFrzOP+g1mdPR1DiPrvOjEOIWrkhELOEJU7jXYQJ7V EaBY7Vsd/iA/bNeiOZ8wTB4wZOTdVYi9k4KmY8Buk0fWYqq8z8eFgOUndhKsIfkK8ittl8 1lqtFW1UD99IzsJ2sLGr97p5bob0WuZ2TnBoix9BMHCpcN46yWeUXHrkz2BWGLs/aaN9jQ swxHrorzigwWHdWhYRAsc3W8KMV3+BtmmVQ+/cVy1Tp6gpCpIsPtysQm1slfEA== 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 "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: -2.22 Authentication-Results: aspmx1.migadu.com; dkim=none; 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: 3715E8160 X-Spam-Score: -2.22 X-Migadu-Scanner: scn0.migadu.com X-TUID: lZ+bAj4tUq+9 On Tue, 08 Mar 2022, zimoun wrote: > Hi, > >> I guess this is the correct way of doing it or perhaps I should put gdb >> and lcov in the base-native-inputs?. But I was thinking that perhaps >> something like `(developer-inputs (list gdb lcov))` would be better, >> since these inputs are not stricly necessary for building the package. > > Well, this list of 'developer-inputs' seems a personal choice or could > be considered as 'recommended'. Well, I am not convinced it would be > useful but maybe the right level is to add something to 'properties'. I had more a recommended workflow in mind. For example, I have a bunch of scripts under `tools/` for compiling and testing the project within Emacs. And they all use these developer inputs. I find this useful if for example someone wants to quickly debug the program from source without searching too much on how to do so. Just fire your text editor and voila. > guix shell gdb lcov -D my-package > > and if it is often the same set of packages, I use a manifest. Yes this is what I also but I wrapped it in a script. And how do you indicate the "-D" in your manifest? -- Olivier Dion Polymtl