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>
This commit is contained in:
Jack Hill 2022-05-26 22:04:03 -04:00 committed by Christopher Baines
parent 57be6ba0f3
commit 9bb71eaac0
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -793,11 +793,10 @@ (define-public nginx-rtmp-module
,@(package-inputs nginx))) ,@(package-inputs nginx)))
(arguments (arguments
(substitute-keyword-arguments (substitute-keyword-arguments
`(#:make-flags '("modules") `(#:make-flags '("modules") ;Only build this module not all of nginx.
#:modules ((guix build utils) ,@(package-arguments nginx))
(guix build gnu-build-system)) ((#:configure-flags flags)
,@(package-arguments nginx) #~(cons "--add-dynamic-module=." #$flags))
#:configure-flags '("--add-dynamic-module=."))
((#:phases phases) ((#:phases phases)
#~(modify-phases #$phases #~(modify-phases #$phases
(add-after 'unpack 'unpack-nginx-sources (add-after 'unpack 'unpack-nginx-sources