guix-patches
[Top][All Lists]
Advanced

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

[bug#55253] nginx-rtmp-module not compatible with nginx


From: Jack Hill
Subject: [bug#55253] nginx-rtmp-module not compatible with nginx
Date: Thu, 26 May 2022 22:02:49 -0400 (EDT)
User-agent: Alpine 2.21 (DEB 202 2017-01-01)

On Mon, 23 May 2022, Jack Hill wrote:

On Mon, 23 May 2022, Ludovic Courtès wrote:

Jack Hill <jackhill@jackhill.us> skribis:

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 600ef0c895..50401c07e1 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -785,12 +785,9 @@ (define-public nginx-rtmp-module
      `(("nginx-sources" ,(package-source nginx))
        ,@(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=."))
+     (substitute-keyword-arguments (package-arguments nginx)
+       ((#:configure-flags flags)
+        #~(cons "--add-dynamic-module=." #$flags))

If I’m not mistaken, #:make-flags and #:modules are lost here, no?
Or were they unnecessary in the first place?

You are not mistaken, they are lost. They do seem to be unnecessary though. nginx is able to load and make use of the module without them.

I realized the value of the make-flags. It saves effort when building, as only the module is build not all of nginx again. The output is identical. I'll send a v2 with those added back. I still don't see the value of the modules.

Best,
Jack

reply via email to

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