[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: nginx-lua-module: Use install-file.
From: |
guix-commits |
Subject: |
branch master updated: gnu: nginx-lua-module: Use install-file. |
Date: |
Thu, 15 Oct 2020 02:15:13 -0400 |
This is an automated email from the git hooks/post-receive script.
efraim pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new be0c94a gnu: nginx-lua-module: Use install-file.
be0c94a is described below
commit be0c94a3780c5a11ee50df31ebbfd950bcd00815
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Oct 15 09:13:07 2020 +0300
gnu: nginx-lua-module: Use install-file.
* gnu/packages/web.scm (nginx-lua-module)[arguments]: Use 'install-file'
in custom 'install phase.
---
gnu/packages/web.scm | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 97bd8c4..647e481 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -613,10 +613,9 @@ documentation.")
#t)))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
- (let ((modules-dir (string-append (assoc-ref outputs "out")
"/etc/nginx/modules")))
- (mkdir-p modules-dir)
- (copy-file "objs/ngx_http_lua_module.so"
- (string-append modules-dir
"/ngx_http_lua_module.so"))
+ (let ((modules-dir (string-append (assoc-ref outputs "out")
+ "/etc/nginx/modules")))
+ (install-file "objs/ngx_http_lua_module.so" modules-dir)
#t)))
(delete 'fix-root-dirs)
(delete 'install-man-page)))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: nginx-lua-module: Use install-file.,
guix-commits <=