guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/03: gnu: nginx-rtmp-module: Use #:configure-flags from nginx.


From: guix-commits
Subject: 02/03: gnu: nginx-rtmp-module: Use #:configure-flags from nginx.
Date: Fri, 27 May 2022 08:58:26 -0400 (EDT)

cbaines pushed a commit to branch master
in repository guix.

commit 9bb71eaac0f8665d2e77dc05deae63ed804adfb7
Author: Jack Hill <jackhill@jackhill.us>
AuthorDate: Thu May 26 22:04:03 2022 -0400

    gnu: nginx-rtmp-module: Use #:configure-flags from nginx.
    
    * gnu/packages/web.scm (nginx-rtmp-module)[arguments]: Simplify copying
    of arguments from nginx and augment #:configure-flags from nginx
    rather than overwriting.
    
    Signed-off-by: Christopher Baines <mail@cbaines.net>
---
 gnu/packages/web.scm | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 58b3ee6117..d4032a96e2 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -793,11 +793,10 @@ programming language.")))
        ,@(package-inputs nginx)))
     (arguments
      (substitute-keyword-arguments
-         `(#:make-flags '("modules")
-           #:modules ((guix build utils)
-                      (guix build gnu-build-system))
-           ,@(package-arguments nginx)
-           #:configure-flags '("--add-dynamic-module=."))
+         `(#:make-flags '("modules") ;Only build this module not all of nginx.
+           ,@(package-arguments nginx))
+       ((#:configure-flags flags)
+        #~(cons "--add-dynamic-module=." #$flags))
        ((#:phases phases)
         #~(modify-phases #$phases
             (add-after 'unpack 'unpack-nginx-sources



reply via email to

[Prev in Thread] Current Thread [Next in Thread]