[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55253] [PATCH v2 2/2] gnu: nginx-rtmp-module: Use gexps in phases.
From: |
Jack Hill |
Subject: |
[bug#55253] [PATCH v2 2/2] gnu: nginx-rtmp-module: Use gexps in phases. |
Date: |
Thu, 26 May 2022 22:04:04 -0400 |
* 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
- [bug#55253] [PATCH 0/2] nginx-rtmp-module use nginx's #:configure-flags and update to gexps in phases, Jack Hill, 2022/05/22
- [bug#55253] [PATCH 1/2] gnu: nginx-rtmp-module: Use #:configure-flags from nginx., Jack Hill, 2022/05/22
- [bug#55253] [PATCH 2/2] gnu: nginx-rtmp-module: Use gexps in phases., Jack Hill, 2022/05/22
- [bug#55253] nginx-rtmp-module not compatible with nginx, Ludovic Courtès, 2022/05/23
- [bug#55253] nginx-rtmp-module not compatible with nginx, Jack Hill, 2022/05/23
- [bug#55253] nginx-rtmp-module not compatible with nginx, Jack Hill, 2022/05/26
- [bug#55253] [PATCH v2 1/2] gnu: nginx-rtmp-module: Use #:configure-flags from nginx., Jack Hill, 2022/05/26
- [bug#55253] [PATCH v2 2/2] gnu: nginx-rtmp-module: Use gexps in phases.,
Jack Hill <=
- [bug#55253] [PATCH v2 2/2] gnu: nginx-rtmp-module: Use gexps in phases., Christopher Baines, 2022/05/27
- bug#55253: [PATCH v2 2/2] gnu: nginx-rtmp-module: Use gexps in phases., Jack Hill, 2022/05/27