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)))
|
,@(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
|
||||||
|
|
Loading…
Reference in a new issue