From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gPNmJaI0Q2Jb5gAAgWs5BA (envelope-from ) for ; Tue, 29 Mar 2022 18:32:34 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id uBTuIaI0Q2L4BgEAauVa8A (envelope-from ) for ; Tue, 29 Mar 2022 18:32:34 +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 0C9D4A829 for ; Tue, 29 Mar 2022 18:32:33 +0200 (CEST) Received: from localhost ([::1]:44742 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nZElj-0005R4-0J for larch@yhetil.org; Tue, 29 Mar 2022 12:32:31 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39714) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZEkm-0005Op-6N for help-guix@gnu.org; Tue, 29 Mar 2022 12:31:32 -0400 Received: from cascadia.aikidev.net ([173.255.214.101]:52530) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nZEkj-0002PY-Iu for help-guix@gnu.org; Tue, 29 Mar 2022 12:31:31 -0400 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:20]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id 0F9091AC1D; Tue, 29 Mar 2022 09:31:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org; s=1.vagrant.user; t=1648571484; bh=I5fLzYkIkGo/PFXid2jhaH2pPmRot+kIDlstMmyatFI=; h=From:To:Subject:In-Reply-To:References:Date:From; b=ZBcTgGIKwwRebdgOogqWLudX3NoEGORqSIF4XqaFHg1/eBocvro4cHNW+396rCoL7 ArMoCxjY4KbQNYcdA5GdtFdWW9aN0hODWJFrV6LJPeXby2txZUFpZqkaRY80TozKwX /UWErAr9bUkO/swkBoFp0CMMHFc2Ix05r+Qa0xpT5aeZhqd5blHezjLizgsfytgBKJ BBj+9a8gKH7KH4SAT8vPe2qLrFBmhNQaRlLRbImSdqsjoKFKLbhHQaechthY2xOD6n YIpUA6KZ7JMnWCsfwAhRrY8yclXLLj6jxyx6kvrnnLFrgZnmwii6fHMm6412fyH2Aw LGZCioM5GWJVg== From: Vagrant Cascadian To: =?utf-8?Q?C=C3=A1ssio?= Tavares , Guix Help Mailing List Subject: Re: Packaging existing software for Guix In-Reply-To: References: Date: Tue, 29 Mar 2022 09:31:18 -0700 Message-ID: <87wngclnzd.fsf@contorta> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: none client-ip=173.255.214.101; envelope-from=vagrant@debian.org; helo=cascadia.aikidev.net X-Spam_score_int: -21 X-Spam_score: -2.2 X-Spam_bar: -- X-Spam_report: (-2.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.082, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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" 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=1648571554; h=from:from:sender:sender: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:dkim-signature; bh=PoYlW1A5UOrTblqI1iU6/FUo9uo9jIU9n9eJMbHeMGA=; b=PIIOApCmeydUk2dUMt2+ELKqgSKSYnK2aOh5xiFcm0p2vvAIqll0mBBbNJTB7HkhdLmjgZ L0kiBdwebq5Z5BQY2z3l6Ag4giBWYGD5xBcaSrvIlNR0vykbJFFfHGcbazIUmO2TZRmpb3 UhhQaQhUp5hsjtr17rJlotN7mw4XpVO3IQrtkxWHCdLHJkqtCMpOhQJxblQ9aWwWeBNRn0 sSJQp316k6jatJD5g0N53T2jBQu4AtDXaaIiXcPmHvQfyqVonzGzJlACWtDFxgWK+wnxn2 1dG6FcdNj9XiJS3wO5qw56NkjCYY88RHlWQR732IZJdBZDb9OHMF6haZCgXjVg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648571554; a=rsa-sha256; cv=none; b=XGj9RHqdgxao9WSddOYosNkxY9UQ5mwqms7ZvTPFMnhTsrIhoIExn7sBcjDma764Ilcu8j XEBhi62smrj+2Eer7R+Awb2UMf9348CA9/ZlxbvsjEhY5EIsc20wXvuD1J3BUlF3t8I59X UhIaT9Seyv0YoH/CGq+apzySZ8mZf/6pZ88StcxBfJ6n/6HVdfJMUSHMmLz8hBbibIBdMy tKwa9CASTm/jlcApTzlZJY3rDguZfP9uwffrv7z866cSMuPEBw7mSVe4iYHRBIZ5vIp6rJ XNIKMFDR/6ZN6GqeUQiUH+vQlBN9GD20bOJXoWpW5mASOehq+WpQms0HO1/ixA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debian.org header.s=1.vagrant.user header.b=ZBcTgGIK; dmarc=none; 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" X-Migadu-Spam-Score: -8.67 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debian.org header.s=1.vagrant.user header.b=ZBcTgGIK; dmarc=none; 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" X-Migadu-Queue-Id: 0C9D4A829 X-Spam-Score: -8.67 X-Migadu-Scanner: scn0.migadu.com X-TUID: RwYIXsj2gf4H --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2022-03-29, C=C3=A1ssio Tavares wrote: > So, I'm looking into package definition, and I have a few questions to > start: > > 1. If I submit an issue with a package request, does it take long for > the package to be made available? This can be highly variable, unfortunately. There aren't always enough people to review the requests. The good news is that guix generally makes it relatively easy to use your local changes immediately while you wait for it to get merged. > 2. Can someone with only a very basic understanding of the Scheme (and > the functional paradigm) package software successfully enough to submi= t it > to the Guix project? I've made more than a few package updates, modifications to packages, new packages, etc. without really knowing scheme at all. I do have prior experience packaging with Debian, though it is quite different. > 3. Would that be very time-consuming (because my work is in a very > different area)? Is the learning curve steep? I pretty much just take examples from looking at other packages, asking for help on IRC or the mailing lists when I get stuck. Folks are usually quite willing to help out! > 4. As far as I could understand, when defining a package from a git > repository, I have to specify the package version and commit. Does this > mean that I will forever have to check for new versions and edit the > package definition to update it? For changes going into upstream Guix, generally yes. Because guix is functional package management, you need to know the hashes of your inputs in advance. The exception might be that some upstream software provides a guix.scm to be able to build from the current git checkout. For example, the GNU Mes project: https://git.savannah.gnu.org/cgit/mes.git/tree/guix.scm > 5. Is there a relatively simple way to port packages from other distros > into Guix? Could this be an automated process? There are various importers that allow importing packages from other sources, though they may require some manual fixups in order to be useable; depends on the importer. > 6. Any further advice? Feel free to experiment! Guix provides various mechanisms that make it easy to not break your current environment, such as: guix shell PACKAGE # temporary environment with PACKAGE installed I use that a lot when testing new things so as not to pollute my working environment with experiemental changes, while still being able to test them out. The folks on IRC are generally hugely helpful. Try to wrap your head around the manual, as it has answers to *many* questions; the hardest part is sometimes figuring out exactly what is relevent to what you're trying to do. I'd recommend the development version of the manual: https://guix.gnu.org/en/manual/devel/en/guix.html The cookbook also has some great examples that are a little more hands on and more about doing something specific: https://guix.gnu.org/en/cookbook/en/guix-cookbook.html live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYkM0VwAKCRDcUY/If5cW qpkfAQD4pCNh4BcIpOstDJpuMV1Voes1CHMfT7k/39JbNu6JZQD/VjRdA1XSFNJi SQ7qtHmAqcQ5L63AGNcQTRZeHH3DnQ4= =zGGC -----END PGP SIGNATURE----- --=-=-=--