From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 QDkxBbzrJGJe9AAAgWs5BA (envelope-from ) for ; Sun, 06 Mar 2022 18:13:32 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id gIBmArzrJGIsdQAA9RJhRA (envelope-from ) for ; Sun, 06 Mar 2022 18:13:32 +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 CBB1837E56 for ; Sun, 6 Mar 2022 18:13:31 +0100 (CET) Received: from localhost ([::1]:56300 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nQuRh-0006MV-NK for larch@yhetil.org; Sun, 06 Mar 2022 12:13:30 -0500 Received: from eggs.gnu.org ([209.51.188.92]:47384) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nQtc8-00066y-Gj for guix-devel@gnu.org; Sun, 06 Mar 2022 11:20:08 -0500 Received: from smtp.polymtl.ca ([132.207.4.11]:41132) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nQtc5-0006hG-6t for guix-devel@gnu.org; Sun, 06 Mar 2022 11:20:06 -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 226GJwRo024251 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Sun, 6 Mar 2022 11:20:02 -0500 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca 226GJwRo024251 To: guix-devel@gnu.org Subject: Package's inputs for developer? Date: Sun, 06 Mar 2022 11:19:58 -0500 Message-ID: <87ee3fvys1.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 Sun, 6 Mar 2022 16:19:58 +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-Mailman-Approved-At: Sun, 06 Mar 2022 12:13:05 -0500 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=1646586811; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=0La0Bt+0FONvSx0EtBI/73sOW9v5RkvM9Ll9c2PRP3Y=; b=IDA/yvleHLQw9RfJsHhI9ON5RJ4QZbVsj+WfagcR+vT8HJXC9J6lYTbkZylSw9K6qzdN7M YDEetV/oluJTaSG6ZesuxNLbZDeD2cyT6Tn77HjgIUtfdb7kFoeiWBQWnFQGudct6FT2qj QvzjSMgUioE3un3+X+WxX3g510+pQGwY/F3iz2aqQIcglk9MakrQUvuChq8sJgOoTLinCr 5W/uQ0yalNEWosy7i4i65qOMQCEe+LSXN30M2ici+YIy0nFK2qq4e9yqmEFpW/KiiAVquV jeSZLjdhUDKLgE2DdPDmiih9Es0NDrkd+jXfnInUp1akSBeNvfNeI82BzfvvFA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1646586811; a=rsa-sha256; cv=none; b=eYMkmp7dFlo0G1wahMs0Y15hHckV1grrBrSEf1jsIxfvm/SnLH+BYFSEQwvzpBDc+muXNA 2AhSfbj6s8q7rRlaHkVj/MU3axjDkqpzdw8y4oSW6/au3jTE87FuYjxep2nr1UMR6aPKiV aeFtjtffCECsnUw1/SyinNP/+MDmKrqkNGdaNyTRjrAc9AD97IVHU+VyzZ9UTdMPNjnCIN tYKByaPEF8eaxITbjSQ3O534mJLteS4BLPWyggKRnkpYlL9MPX0kcs5Pz4P/uO6zExEmeI VX+YEpNokQNdcJSULsZ2qnn7aItaJwhk6a2NXXaIqdiD01hk96PhvBlRBzyxYA== 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.53 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: CBB1837E56 X-Spam-Score: -2.53 X-Migadu-Scanner: scn0.migadu.com X-TUID: sMK7RUO9hYdR Hi Guix, I often find my self using inheritance of package to add native-inputs that are not stricly necessary for building the project, but are used for developement purpose like so: ------------------------------------------------- (define base-native-inputs (list ...)) (define my-package (package ... (native-inputs base-native-inputs) ...)) ;; Developers version (package (inherit my-package) (native-inputs (append base-native-inputs (list gdb lcov)))) ------------------------------------------------- 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. Regards, old -- Olivier Dion Polymtl