[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/05: gnu: mod-wsgi: Make sure not to keep a store reference to HTTPD.
From: |
guix-commits |
Subject: |
05/05: gnu: mod-wsgi: Make sure not to keep a store reference to HTTPD. |
Date: |
Sun, 30 Apr 2023 04:48:25 -0400 (EDT) |
lfam pushed a commit to branch master
in repository guix.
commit 3b3c7ef1f74d15471da482ca9b3720020c9f85f1
Author: Leo Famulari <leo@famulari.name>
AuthorDate: Thu Apr 27 22:47:17 2023 -0400
gnu: mod-wsgi: Make sure not to keep a store reference to HTTPD.
* gnu/packages/web.scm (mod-wsgi)[inputs]: Move httpd ...
[native-inputs]: ... to here.
[arguments]: Forbid keeping a reference to httpd.
---
gnu/packages/web.scm | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 8d5d94ced0..2f27d16440 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -335,14 +335,16 @@ and its related documentation.")
"1savh6h3qds20mwn1nqasmqzcp57pdhfc9v4b4k78d6q28y0r17s"))))
(build-system gnu-build-system)
(arguments
- '(#:tests? #f ; TODO: can't figure out if there are tests
+ `(#:disallowed-references (,httpd)
+ #:tests? #f ; TODO: can't figure out if there are tests
#:make-flags (list
(string-append "DESTDIR="
(assoc-ref %outputs "out"))
"LIBEXECDIR=/modules")))
+ (native-inputs
+ `(("httpd" ,httpd)))
(inputs
- `(("httpd" ,httpd)
- ("python" ,python-wrapper)))
+ `(("python" ,python-wrapper)))
(synopsis "Apache HTTPD module for Python WSGI applications")
(description
"The mod_wsgi module for the Apache HTTPD Server adds support for running