aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Hill <jackhill@jackhill.us>2022-05-26 22:04:03 -0400
committerChristopher Baines <mail@cbaines.net>2022-05-27 13:57:25 +0100
commit9bb71eaac0f8665d2e77dc05deae63ed804adfb7 (patch)
treed718f239b5474dce158a4640bb741ce95fa46287
parent57be6ba0f3e185bb33e6791a7312f33d080cbb9e (diff)
downloadguix-9bb71eaac0f8665d2e77dc05deae63ed804adfb7.tar
guix-9bb71eaac0f8665d2e77dc05deae63ed804adfb7.tar.gz
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>
-rw-r--r--gnu/packages/web.scm9
1 files 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