gnu: nginx-lua-module: Use install-file.
* gnu/packages/web.scm (nginx-lua-module)[arguments]: Use 'install-file' in custom 'install phase.
This commit is contained in:
		
							parent
							
								
									00014f7692
								
							
						
					
					
						commit
						be0c94a378
					
				
					 1 changed files with 3 additions and 4 deletions
				
			
		|  | @ -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))))) | ||||
|  |  | |||
		Reference in a new issue