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 6MU3KQoykGJ0HQEAbAwnHQ (envelope-from ) for ; Fri, 27 May 2022 04:06:02 +0200 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 CKM7KAoykGKOBAEAG6o9tA (envelope-from ) for ; Fri, 27 May 2022 04:06:02 +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 3FCAC877A for ; Fri, 27 May 2022 04:06:02 +0200 (CEST) Received: from localhost ([::1]:45568 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nuPMX-0006Cm-Dv for larch@yhetil.org; Thu, 26 May 2022 22:06:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33054) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nuPLc-0006AT-QD for guix-patches@gnu.org; Thu, 26 May 2022 22:05:20 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38281) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nuPLb-0008JI-4J for guix-patches@gnu.org; Thu, 26 May 2022 22:05:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nuPLa-00054D-VR for guix-patches@gnu.org; Thu, 26 May 2022 22:05:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55253] [PATCH v2 2/2] gnu: nginx-rtmp-module: Use gexps in phases. Resent-From: Jack Hill Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 27 May 2022 02:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55253 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55253@debbugs.gnu.org Received: via spool by 55253-submit@debbugs.gnu.org id=B55253.165361707219429 (code B ref 55253); Fri, 27 May 2022 02:05:02 +0000 Received: (at 55253) by debbugs.gnu.org; 27 May 2022 02:04:32 +0000 Received: from localhost ([127.0.0.1]:60410 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nuPL4-00053H-GQ for submit@debbugs.gnu.org; Thu, 26 May 2022 22:04:31 -0400 Received: from minsky.hcoop.net ([104.248.1.95]:38408) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nuPKv-00052k-1s for 55253@debbugs.gnu.org; Thu, 26 May 2022 22:04:27 -0400 Received: from [2600:3c03::f03c:92ff:fe54:31cf] (helo=localhost.localdomain) by minsky.hcoop.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nuPKp-0004xi-Vk for 55253@debbugs.gnu.org; Thu, 26 May 2022 22:04:15 -0400 From: Jack Hill Date: Thu, 26 May 2022 22:04:04 -0400 Message-Id: <20220527020404.6603-2-jackhill@jackhill.us> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220527020404.6603-1-jackhill@jackhill.us> References: <20220527020404.6603-1-jackhill@jackhill.us> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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" 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=1653617162; 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: 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; bh=48MS7WpfU6Ut+6yTzOIXc8XghFYyiCqlzQXxn4DN2cY=; b=PXuR/Oy1Cb98NnAZd6/J3m1w5CChaM0PW7ILe9M2bfKEFeocPOTSKCJtoRM8zeW/N6uO9U KHWBNkKYBczIX0uqmaWKTcc2RY2auad2jCjn0zleunUnjSMm0DXhPKAkuJe9lkt3zMCucM 4X7m55pFfccMKVeBzU2+r/RzWE0UGCIIjGj7HL1cjIJp2yXCTUZEbFlYQTKj9YDHHIJ3YA qtXCnlwGnprGNf4zeqZzTo/KdBWYGeupx1ckOC1m2IjT07RRaqCDXyzCGnniQReDPYqdS+ JdEjpaxC5OLpQTyx73eRkn7sUsWw7ZzEoFCcx9bdYKkTawr7dbI0A+BGilxo9g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653617162; a=rsa-sha256; cv=none; b=tcNvxhL/rSTrSZWLCsb8XoAmS201xZIwth7afAPlrL6xEXaWk2Hxot5iBGpTk7EkpO/JFj lVirj0SPd3MTe2/ImTs6y8fQ5FufPSbHWFEPaZ6w8NsIrfvHUiKfGpYB0z9GGzGHqvN2HN a9AQIkARJ+MoDTgKA8f8lbZmlF+H3PJRno4rl92NLh5PBSoE6tRlLos4SeqkFAmF26ZZEt hWlOjtLeardNZiekcqrpj9UnqCiRR97f6iFs3k4ceHrSfxxqXlLf/T5P5FAleZAQjArxFO mD6KXBE095/DrjEnnXY+3RJ2gFZUbCvhhBScSaujQiMzPVzuqTVQ9/1uDxi6Fg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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" X-Migadu-Spam-Score: 1.46 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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" X-Migadu-Queue-Id: 3FCAC877A X-Spam-Score: 1.46 X-Migadu-Scanner: scn0.migadu.com X-TUID: k6Z4FzbGHRAt * gnu/packages/web.scm (nginx-rtmp-module)[#:phases]: Use gexps and remove trailing #t. --- gnu/packages/web.scm | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index e349a863d5..d321348eed 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -800,24 +800,22 @@ (define-public nginx-rtmp-module ((#:phases phases) #~(modify-phases #$phases (add-after 'unpack 'unpack-nginx-sources - (lambda* (#:key inputs native-inputs #:allow-other-keys) + (lambda _ (begin ;; The nginx source code is part of the module’s source. (format #t "decompressing nginx source code~%") - (invoke "tar" "xvf" (assoc-ref inputs "nginx-sources") + (invoke "tar" "xvf" #$(this-package-input "nginx-sources") ;; This package's LICENSE file would be ;; overwritten with the one from nginx when ;; unpacking the nginx source, so rename the nginx ;; one when unpacking. "--transform=s,/LICENSE$,/LICENSE.nginx," - "--strip-components=1") - #t))) + "--strip-components=1")))) (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (let ((modules-dir (string-append (assoc-ref outputs "out") + (lambda _ + (let ((modules-dir (string-append #$output "/etc/nginx/modules"))) - (install-file "objs/ngx_rtmp_module.so" modules-dir) - #t))) + (install-file "objs/ngx_rtmp_module.so" modules-dir)))) (delete 'fix-root-dirs) (delete 'install-man-page))))) (home-page "https://github.com/arut/nginx-rtmp-module") -- 2.36.1