mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-16 19:57:39 -05:00
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:
parent
57be6ba0f3
commit
9bb71eaac0
1 changed files with 4 additions and 5 deletions
|
@ -793,11 +793,10 @@ (define-public nginx-rtmp-module
|
|||
,@(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
|
||||
|
|
Loading…
Reference in a new issue