From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id mE+9FMrU5WYiMgEA62LTzQ:P1 (envelope-from ) for ; Sat, 14 Sep 2024 18:24:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id mE+9FMrU5WYiMgEA62LTzQ (envelope-from ) for ; Sat, 14 Sep 2024 20:24:10 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="YO+/GEMH"; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=W5Qu9On8; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict), DKIM not aligned (strict)" header.from=posteo.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1726338250; 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:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=9/hN1Qg/CJ892WZI6ljTWs/aZg+3FT1pv3YydVeAaQ0=; b=ahlZy8QAbQhxr7ILc2paCPqK8F3bxkfhRKKeQAE+COn6i6cYA4FOX6OMoL6SetspoVFo5l xHymbJoM8grCZFF03+/h5wj8JUIc4XVJNVDWAHBAJ8O/PCKG2vXSW6yKRfaBO5IIJaAHvK QEnMppi1FOZ5W4yFDJgKztGEjfXO6Xsx3POW9lnB45wViVlfKjsQz/psmmrjJAZG53EkBR A7hnxkdZ5VCUiaJPQAuakCrOlbPGqetKaHhNOrU5D7DfLv9UEjerVARx36HodZxXpzpxCn rhO6rUebjSeMxYKomUFA1bYKMIcPPJg6F3MOOAldSbTXsc9Hq59FPB11g0xOcg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1726338250; a=rsa-sha256; cv=none; b=i9lwMM5G28HnyN4P3eQQkk+0+SlLksjZo9wfxkW0kuqHRwlV7xaIYjVw+SpHWkNKWQn5Jx oSLSDXE5rae9rjj34E2tg6F2jY3m9TM95XYiKgiMwwJBe3HFLhk7t+LtEIbt+enTLKDgOK RHRbpPJpQiBWnig0t1pfQ/EjmLZtcujR1lMmlgumQTqetbkQlUYb8c3diS2MS79tVHV8jd j8bjCScJz/JePxNx/AEyAe2KMSuraw1thWW59Oo99dsNnsPuaPvLagkkKMqvY8BJpvKoKA VQvds6a1/XvSQR0laOaEIBZwzUEo2bewrzmLWY3Cm4KCLYw3Iwd0ZYzumENmEA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="YO+/GEMH"; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=W5Qu9On8; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict), DKIM not aligned (strict)" header.from=posteo.net (policy=none) 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 E95CC67F32 for ; Sat, 14 Sep 2024 20:24:09 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1spXR6-0007Ya-Ch; Sat, 14 Sep 2024 14:23:56 -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 1spXR2-0007YH-7P for guix-patches@gnu.org; Sat, 14 Sep 2024 14:23:52 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1spXR1-0005O8-Un for guix-patches@gnu.org; Sat, 14 Sep 2024 14:23:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=9/hN1Qg/CJ892WZI6ljTWs/aZg+3FT1pv3YydVeAaQ0=; b=YO+/GEMH0J+U4TbTpb3KiIh5g6FHWZ1inVOf0hcN1utLqat4W32j2D2BYL0CaSwQVoeVPeREJugUPsuPvuZqYBk6FkmdqCety8vQsLoL4mKgmkP7fuTBO5SgcvGBCc9hHStWd9ogOgTB286ThDnV7sdeJQ4tGYIVDVR17tIac1mN+uJGADdTxQXkNPwRnCeCkllcOafLsUocrQH46i6LCOLkZqfNaITDecvZzgA4nwSJy0hgPkqxAKjqUgFcZUtDGz0xKSjdav7v9TD3gpJ062GXltnmF/j7lNPy7laU0zc+9UaL1luPXOEWuWohIZ6DKlloaQqixrybvEcxndL1hA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1spXRC-0007Bi-It for guix-patches@gnu.org; Sat, 14 Sep 2024 14:24:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72452] [PATCH v5] gnu: Add guile-swayer. Resent-From: Alec Barreto Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 14 Sep 2024 18:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72452 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72452 <72452@debbugs.gnu.org>, Nicolas Graves Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 72452-submit@debbugs.gnu.org id=B72452.172633822527598 (code B ref 72452); Sat, 14 Sep 2024 18:24:02 +0000 Received: (at 72452) by debbugs.gnu.org; 14 Sep 2024 18:23:45 +0000 Received: from localhost ([127.0.0.1]:47793 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1spXQv-0007B4-6M for submit@debbugs.gnu.org; Sat, 14 Sep 2024 14:23:45 -0400 Received: from mout02.posteo.de ([185.67.36.66]:39651) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1spXQr-0007Ak-VT for 72452@debbugs.gnu.org; Sat, 14 Sep 2024 14:23:43 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 35840240101 for <72452@debbugs.gnu.org>; Sat, 14 Sep 2024 20:23:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1726338203; bh=DNQpyHdgzl0ZhktvsKSkBfr6dKQRNI0lznBISgocymE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=W5Qu9On8Gd1dt9D6XAc5GqPInUxZ8ZWTcME4hLDXyB7LFsWZtBU+6FQeXnsVEyzx1 HzuKwt7EEYbd+teUG8CcKilcm3ZQvBMhosm41Fw688NLF8jHKd7relZLdonbMOsKW3 2g1Pu9EQ6eEPjdoFQ6z4uawUNfU6JoKLYXG72KkILOYO+tPiULhwE3JMzg2W/mzhyw c4gwjKgAk/Puh+9L9Nmeumk6DrZp92mRI4r0udZ/s69Rb0vSBKqE9qMYrMn/CesG9b RLtgPi1qp498gkKcaUTcaFI6QhaGjRhoAj2F0NuyZvh5LfmRoHlaBjsuw+qjaQDakC TsYCTZJp0SFAA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4X5fgX6Gj1z6tn4; Sat, 14 Sep 2024 20:23:20 +0200 (CEST) From: Alec Barreto In-Reply-To: <87v7yyteq6.fsf@ngraves.fr> (Nicolas Graves's message of "Sat, 14 Sep 2024 17:52:17 +0200") References: <2c614792845a675a1296bcbeb6ef8d8502d51aba.1722717063.git.mrh57@posteo.net> <0f466c25269fce18ccca13660014a710e475e2b9.1726093663.git.mrh57@posteo.net> <87wmjgiynq.fsf@gnu.org> <87bk0rwyki.fsf@posteo.net> <87y13uuxmk.fsf@posteo.net> <87v7yyteq6.fsf@ngraves.fr> Date: Sat, 14 Sep 2024 18:23:17 +0000 Message-ID: <878qvup016.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -10.63 X-Migadu-Queue-Id: E95CC67F32 X-Spam-Score: -10.63 X-TUID: HSpAKbpZ+P5n Nicolas Graves writes: > If you want to pick a specific commit, you can do something like this > > (let ((commit [commit]) > (version "0.2.0") > (revision "0")) > (package > (name [name]) > (version (git-version version revision commit)) > (source (origin > (method git-fetch) > (uri (git-reference > (url [url]) > (commit commit))) > (file-name (git-file-name name version)) > (sha256 > (base32 > "")))) > > > This makes it easier to upgrade to another given commit if necessary. Thanks! Funnily v0.3.0 was just released right after your message. However it introduces a new (minor) issue. There is a =manifest.scm= file in the project root which was for building the program with guix since it wasn't (isn't) yet upstream. But now with the new 0.3.0 version the =guile-build-system= tries to compile the =manifest.scm= as part of the program, causing build failure. The project itself could create a =make= file and the package definiton could be switched to =gnu-build-system=. Alternatively, since the manifest is arguably obsolete if this package becomes upstreamed, the manifest can simply be removed. We can wait for one of those situations, or just package it now in the manner you suggested and pin the commit to where the package builds (but still updating to v0.3.0?) Best, Alec