From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id +Ii0EJLM02WZLAAA62LTzQ:P1 (envelope-from ) for ; Mon, 19 Feb 2024 22:48:02 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id +Ii0EJLM02WZLAAA62LTzQ (envelope-from ) for ; Mon, 19 Feb 2024 22:48:02 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=zancanaro.id.au header.s=k1 header.b=N4vpEoP5; 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 (relaxed)" header.from=zancanaro.id.au (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708379281; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: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=EJDjrg7TbDYwCqofXc6YFFo3NvkEcv4hxLwA9iUWZO4=; b=MLGNYjI2AH0n6EwHS2VYD4zbN0JMDMk54+q8oihw3vvHFtzJ+dnXCs2SD/ZBuGIdvvXBI9 XHZoTBCZKk3vxduL+27A+9xuxnwylapfevJBPlDWAqe4XqI89gZRuitD0zsQ8UIxQ4tAYU gXvdPhecAZ910uXto7sRxFAw48c2jE8/A50BZPUah3HzWPyTBloA50VbAzfFJFzhMOREfp QdXyJiIyYGB1fdPI3N2War9MXU9yUtul2P1x1LsSRxgWAaHjmjbMo0Zl6zi139CYH5y9mt NFxqKnFi/fs50e0Me3a5tLfNRneaqsUMsWL9Olby1fc5PzI4ENIsbsyE6Bfx9g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=zancanaro.id.au header.s=k1 header.b=N4vpEoP5; 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 (relaxed)" header.from=zancanaro.id.au (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708379281; a=rsa-sha256; cv=none; b=sW2EpsycNiEaie+c+UNaA9ZbxaYIQuh4+us/alw7TkscAJfMxlPkHKhCkROQYJvICiTqmA UIhKpoxevbhCS4L5/F2Yq/nXFueWMiATnKUddLWDTn6SdO4OLfSAQiSmacCn5K2I90/Vah 6B248qCTNH6aNxiOSfMgH0klAsiGB4Oca+kNmrqCp/J4vv2nKmp4Yans/vI24b5BNDLL9z 7fQF0NM7MsNw6ofWLKkg1eCSjexrpZAPkg2rXlLJVp5N3Q71Hu4GLDS5roVgTvMkwKQrMc 6OTzEuOaulSQx8fshLUEpdkykC7+N7oTa7CwebGXmvUE4Ef2aMzSpCBAeT1YOQ== 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 E80AA44AA8 for ; Mon, 19 Feb 2024 22:48:01 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rcBUH-0003b0-0n; Mon, 19 Feb 2024 16:47:45 -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 1rcBUD-0003Zb-Pk for guix-patches@gnu.org; Mon, 19 Feb 2024 16:47:41 -0500 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 1rcBUD-00083c-Hc for guix-patches@gnu.org; Mon, 19 Feb 2024 16:47:41 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rcBUY-0005qq-PR for guix-patches@gnu.org; Mon, 19 Feb 2024 16:48:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69272] [PATCH v2 2/4] gnu: Use copy-build-system for prosody modules. Resent-From: Carlo Zancanaro Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 19 Feb 2024 21:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69272 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69272@debbugs.gnu.org Received: via spool by 69272-submit@debbugs.gnu.org id=B69272.170837924522423 (code B ref 69272); Mon, 19 Feb 2024 21:48:02 +0000 Received: (at 69272) by debbugs.gnu.org; 19 Feb 2024 21:47:25 +0000 Received: from localhost ([127.0.0.1]:43696 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rcBTw-0005pV-Aa for submit@debbugs.gnu.org; Mon, 19 Feb 2024 16:47:24 -0500 Received: from voltorb.zancanaro.id.au ([45.77.50.64]:47840) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rcBTt-0005og-FJ for 69272@debbugs.gnu.org; Mon, 19 Feb 2024 16:47:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=k1; bh=EJDjrg7TbDYwCqo fXc6YFFo3NvkEcv4hxLwA9iUWZO4=; h=references:in-reply-to:date:subject: to:from; d=zancanaro.id.au; b=N4vpEoP5kKU8MPhCS07GcdTxrCtLC9p4tt6VxPIw bSQThsluvgRNrNcYvt3EUY8/kIu2SxGzBe5KxKWsF2XVEWN9mHVY3NIN7vQHqF2mX0OilL bdHvG+gD2anMHZTNgy/gvvjmFuYhXibWYWRD3++pc1RkjRki/KPtgA2+GVvdM= Received: by voltorb.zancanaro.id.au (OpenSMTPD) with ESMTPSA id a5a937e7 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for <69272@debbugs.gnu.org>; Mon, 19 Feb 2024 21:46:44 +0000 (UTC) From: Carlo Zancanaro Date: Tue, 20 Feb 2024 08:44:17 +1100 Message-ID: <6bf5ba79c63dc0e6e5cc46e5a89f020aa8a790e3.1708379059.git.carlo@zancanaro.id.au> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.38 X-Spam-Score: -2.38 X-Migadu-Queue-Id: E80AA44AA8 X-Migadu-Scanner: mx11.migadu.com X-TUID: GbQxITLKn9z5 * gnu/packages/messaging.scm (prosody-module): Use copy-build system. Change-Id: I6de2827c63cb454d80b20f3af84fa610a75172f4 --- The only change from v1 is to remove the home-page definition from this diff (because it's now in the earlier patch). gnu/packages/messaging.scm | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index d06cd74177..3dd1e66e81 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -144,6 +144,7 @@ (define-module (gnu packages messaging) #:use-module (gnu packages xml) #:use-module (gnu packages xorg) #:use-module (guix build-system cmake) + #:use-module (guix build-system copy) #:use-module (guix build-system go) #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system gnu) @@ -1600,17 +1601,9 @@ (define (prosody-module module-name) (sha256 (base32 "142wrcism70nf8ffahhd961cqg2pi1h7ic8adfs3zwh0j3pnf41f")))) - (build-system trivial-build-system) + (build-system copy-build-system) (arguments - '(#:modules ((guix build utils)) - #:builder - (begin - (use-modules (guix build utils)) - (let ((out (assoc-ref %outputs "out")) - (source (assoc-ref %build-inputs "source"))) - (with-directory-excursion (in-vicinity source module-name) - (install-file (string-append module-name ".lua") out)) - #t)))) + `(#:install-plan '((,(string-append module-name "/") ".")))) (home-page (string-append "https://modules.prosody.im/" module-name ".html")) (synopsis #f) -- 2.41.0