From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 0MupD6qR8Wb0UAAAe85BDQ:P1 (envelope-from ) for ; Mon, 23 Sep 2024 16:04:58 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 0MupD6qR8Wb0UAAAe85BDQ (envelope-from ) for ; Mon, 23 Sep 2024 18:04:58 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debian.org header.s=1.vagrant.user header.b=AikY4Z1l; 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"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1727107498; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=BaRFmEAOXNiqVkMUMJ1d4D6gEhJ8vhOf0J/IWE+YKrY=; b=TJm1P0MElbGJelja14tcTx2Jx57QSjZ2CVGnVFkeFTa/OrL9mJJ8R2633PI0oYcg+KoUTo AHi/kZyDNCGMNL6NDc2UiCQPs3p7yxnO/zVXM25IJ3xtW48Ty6YQ4xBGBiwIyjqDVXCJSM E1jkLAk5cwMk7BHr1ZWlq7/7uAVY7rFUH59JFT3RBxV+Z7S80NrKjLGUR1MH8TI9v+D36z QW47YoJk7bwLEw6CNfq1+1j2HgBkSyn44uI3oV2Q2X/ZImz5Rhvz+7sDu6t+2h12SeOezk SfDUz6PmoLQKyVmglyCAIsTsi/0ykbCuhwcwZ2wNp6Anie0TDDZLhK62kmSjgQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debian.org header.s=1.vagrant.user header.b=AikY4Z1l; 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"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1727107498; a=rsa-sha256; cv=none; b=gK3GaBM/GJKNS3rb3SLfmBFjIsGOEE6tYgfRIVkAHrEUEGhKNgYzj+aWUQM60wwayMCKmv JuAeamgKrJAnr/YameuzUw6YDKpYlux50EIR61+4nyeOedW1oMXfB1rKElPJQh3iMMKlqH C2QiJOjHYl8rQ3OOxK99gbFvx4Tw8zfHYZDsiwBGJ/IuLya2ltUoAJ5IUleyRw9VHVOiqd oZGIa+YM2U6T592PVrb8CNH5Ethmh2p+qz8yMjiRChgb8D9X9tmCMltRQ86hZQBqAkYUag wodxfoF9i5UsiYUdg3cc1oxe9heVZh4tj7lbunBZiGYP4i80R9SasWcYbDpHXw== 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 0917279A84 for ; Mon, 23 Sep 2024 18:04:58 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sslXG-0001kr-Hh; Mon, 23 Sep 2024 12:03:38 -0400 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 1sslX9-0001Su-J3 for guix-devel@gnu.org; Mon, 23 Sep 2024 12:03:31 -0400 Received: from cascadia.aikidev.net ([2600:3c01:e000:267:0:a171:de7:c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sslX7-0006r6-BB for guix-devel@gnu.org; Mon, 23 Sep 2024 12:03:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org; s=1.vagrant.user; t=1727107401; bh=7oeqc0SYG0zFYmzH/VsvKBCJZkYm3fs4iX7wcnGP0xw=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=AikY4Z1lH66/HAZ1OVX86NmnxzNFFZj2oS9Iq93YBE5c1N5/UGaAPSOI6aSYni4eD tO9hgLbSRGUgzOP5svNYXKgqe5LseOE+x1UE4S14GgdaT0X4SfcjBxEoZXDM9UjzXC COnepiwMHfed4czhHSUTn845xM21j2Q0ykkO/CpI7D48UMsGzzgPkMoxRi8gFiQlX1 on+Nwal0GPoE3TXMgAS7qGTiaVY4ff7ZRhAdR7o0x1v0XLlpx4Xt/JwTQb64bfQjyi MJbCFNKzAz4J5kUiTMA7K4IB7zbBxWum9YBifnvSgFugRUtYqZ7PkIZYUlKgIooDYO eGpdTIHmlHgnA== Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:50]) by cascadia.aikidev.net (Postfix) with ESMTPSA id CB43B1F36; Mon, 23 Sep 2024 09:03:21 -0700 (PDT) From: Vagrant Cascadian To: Andreas Enge , Konrad Hinsen Cc: Kaelyn , Simon Tournier , Tobias Geerinckx-Rice , guix-devel@gnu.org Subject: Re: Rebuilding a package after removing a build step In-Reply-To: References: <50CD9D3B-BAE4-4D11-8AF6-906649D74FF9@tobias.gr> <877cb6s12t.fsf@gmail.com> Date: Mon, 23 Sep 2024 09:03:03 -0700 Message-ID: <87r09ajr2g.fsf@wireframe> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: none client-ip=2600:3c01:e000:267:0:a171:de7:c; 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.144, 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 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -7.21 X-Spam-Score: -7.21 X-Migadu-Queue-Id: 0917279A84 X-Migadu-Scanner: mx10.migadu.com X-TUID: 3zMjiTg7A7Tq --=-=-= Content-Type: text/plain On 2024-09-23, Andreas Enge wrote: > Am Mon, Sep 23, 2024 at 10:22:28AM +0200 schrieb Konrad Hinsen: >> $ guix show -L . sbcl-websocket-driver >> name: sbcl-websocket-driver >> version: 0.2.0-0.df94496 >> location: gnu/packages/lisp-xyz.scm:30847:4 >> It looks like Guix picked the larger one by >> alphanumeric order, which is not a reasonable choice in a development >> context. > > This is exactly the role of the number "-0." in front of the git commit; > one needs to specify by hand the order of the (non-)releases, as coming > from here: > (define-public sbcl-websocket-driver > (let ((commit "df94496ecb525d086eeada4f5875975515b7212e") > (revision "0")) > (package > (name "sbcl-websocket-driver") > (version (git-version "0.2.0" revision commit)) Rather than picking an arbitrary incremental number, I have in the past used something based on the results from git describe... e.g. in my current checkout of guix: $ git describe --match=v1.4'*' v1.4.0-142685-gfc059c66cf e.g. 142685 commits past v1.4.0, with the commit fc059c66cf That should *usually* end up in the correct order, although sometimes there are surprises. For example, I had to specify --match otherwise it picked v1.3.0 for some inscrutible git merge-ordering reason. live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCZvGRNwAKCRDcUY/If5cW qisCAP9w47Ac66rmfPJdU/Hy5Nq/Br+owoEn6LJKwCjPxtj5hAD+IDIs2KYC6xba v8DkrK7gb5Bl2tCLF5h/S7qEHfMFvA4= =DU62 -----END PGP SIGNATURE----- --=-=-=--