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 pz/JF9b7AWTlPQEAbAwnHQ (envelope-from ) for ; Fri, 03 Mar 2023 14:53:26 +0100 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 mK8kFtb7AWRcGwAAG6o9tA (envelope-from ) for ; Fri, 03 Mar 2023 14:53:26 +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 2035C31110 for ; Fri, 3 Mar 2023 14:53:26 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pY5qJ-0002Xf-9Q; Fri, 03 Mar 2023 08:53:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pY3E7-0000X9-2r for help-guix@gnu.org; Fri, 03 Mar 2023 06:05:27 -0500 Received: from mail-4322.protonmail.ch ([185.70.43.22]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pY3E4-0007bI-OK for help-guix@gnu.org; Fri, 03 Mar 2023 06:05:26 -0500 Date: Fri, 03 Mar 2023 11:05:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1677841519; x=1678100719; bh=MTNchPOVTtPP8ke7zVsRUNJeBWYy/uWKcc5cUFfmx00=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=E0FwoGlx/IMnM/YIkWN+ZXNKxTFK5Yd0EWa9dCE8vrHKaFy+8Y3+ysDiFUGVG/H5t 2CJGT6+qMW5S+Y+PCBl6h9DkFC+kAMNk0xJaQ/R6zi42+hYGLLvCHoie3VFiL5AJKx 0uxFnT9LuyshVTa4SBS2Cm9tevEwB4lOPesRjRhpXwMmNthsVrcCZkHSqA4t8bmjR7 JWVhy1UYY0WUCiAHeqbOPkee+DBsypQkCY59MVb86CvnPPGH5rXZU54g2d2DkjwGHO Rt+Yi9ZqSnwnA3G6zcXSu7K10ewI3/ybZLfO32pyjKmGBnLRXMGjCuTyAfmzp2qRjq frSpk5ZwurymA== To: =?utf-8?Q?Przemys=C5=82aw_Kami=C5=84ski?= From: =?utf-8?Q?Marek_Pa=C5=9Bnikowski?= Cc: help-guix@gnu.org Subject: Re: streamlining custom package development Message-ID: In-Reply-To: References: Feedback-ID: 45828316:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.22; envelope-from=marekpasnikowski@protonmail.com; helo=mail-4322.protonmail.ch 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, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 03 Mar 2023 08:52:59 -0500 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677851606; a=rsa-sha256; cv=none; b=g+4yKTQSa4bOslzOlIKv38y65G4mrDb+FZO6ddL//+3xjYwfCF6UUIdTeYpqZ58PeCXbyA s9f4sHRWirAuVNz7AGTYPscFxZTmVLWF6wl7njHmhfTZ/QaAMTWASKcrLGQMzbqM0Ii7Ua qlIW39xvbf64hYWp8m+XBU/iRyc6o07nblXXHjo5f67HBNGwugvsGtRjR8NxR5KkZAOsPJ mwSFooxeG2DRwtl/MGzADDWX5ioye4H/FD2rkQVgs/8Te2GwzVJysbyvua4bNU1lhy/uKT chYk0KA+hIrZtcoogZxD3FbUM38N4v4erCB7eeZ2PKluL23+N1pBfACqEK3u/A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail3 header.b=E0FwoGlx; 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"; dmarc=pass (policy=quarantine) header.from=protonmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677851606; 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=MTNchPOVTtPP8ke7zVsRUNJeBWYy/uWKcc5cUFfmx00=; b=JCxEHyoggl1eMIZxXV3qvV19VkMzfJziCfQAqE8MeIJoDZJ44krjLFIYsbZIqvmKo5OH5K XaCBY2Hf3r3xxXDPTfG60RfamemL66NDaeuSErcEElKRAgtT/RlD7XNlAKvoQek7Z95nFL wg0PBvO3HLFfjwCLlWuL6J4C940hkIKRbUQcbrmVzg0v51ksRHhMXEeZChtnFmnRFuUO53 ngZhWZhx2O4dptMp3k64ZB4h/4gl9vlHAs47IDXBJw+KXHTAdBXmE1yN8fFdlIIYHzUj1p AwhjXxIbgiAou32bBNlym3Df6I8BBPOO5qz0pY7innwSzKV90viDIY2F1Kx6fA== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -4.94 X-Spam-Score: -4.94 X-Migadu-Queue-Id: 2035C31110 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail3 header.b=E0FwoGlx; 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"; dmarc=pass (policy=quarantine) header.from=protonmail.com X-TUID: zQtup8Yzrjy0 > This is tedious. Is there a way to automate this a bit more? Only slightly. Do remember, that Guix is purely functional. Your pain is = with the chain of dependencies. I recently went through a similar ordeal while packaging an update to Nix. = I suggest to: 1. look up the dependency list on the program's or library's documentation; 2. add the dependencies to the input lists; 3. attempt to build the target package and write the package definitions fo= r the missing dependecies; 4. keep iterating the above until completion. It should help you to think of this iteration as a Test Driven Development = process. The guix build is your test suite, which you want to get green. I also recommend to use the -v3 option - it will allow you to see the log i= mmediately. Best Regards, Marek Pasnikowski