aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2023-12-22 11:52:10 +0000
committerArun Isaac2023-12-22 12:16:10 +0000
commit74d1c253174504b4c41b4423298398d8e6d07ac3 (patch)
tree7a4684fe387d0aa0939a7aac706f1844026d32fb
parent78ce441925e29acb01e8c98a6133a6e5b917a319 (diff)
downloadguix-forge-74d1c253174504b4c41b4423298398d8e6d07ac3.tar.gz
guix-forge-74d1c253174504b4c41b4423298398d8e6d07ac3.tar.lz
guix-forge-74d1c253174504b4c41b4423298398d8e6d07ac3.zip
gunicorn: Use python, not python-minimal, to construct app profile.
* guix/forge/gunicorn.scm: Import python instead of python-minimal. (gunicorn-shepherd-services): Use python, not python-minimal, to construct app profile.
-rw-r--r--guix/forge/gunicorn.scm7
1 files changed, 5 insertions, 2 deletions
diff --git a/guix/forge/gunicorn.scm b/guix/forge/gunicorn.scm
index 2e259a7..215bdbd 100644
--- a/guix/forge/gunicorn.scm
+++ b/guix/forge/gunicorn.scm
@@ -22,7 +22,7 @@
#:use-module (forge socket)
#:use-module (gnu build linux-container)
#:use-module ((gnu packages admin) #:select (shadow))
- #:use-module ((gnu packages python) #:select (python-minimal))
+ #:use-module ((gnu packages python) #:select (python))
#:use-module ((gnu packages python-web) #:select (gunicorn))
#:use-module (gnu services)
#:use-module (gnu services shepherd)
@@ -146,7 +146,10 @@
(start
(let* ((name (string-append "gunicorn-" (gunicorn-app-name app)))
(app-manifest (packages->manifest
- (list python-minimal
+ ;; Using python-minimal in the
+ ;; manifest creates collisions with
+ ;; the python in the app package.
+ (list python
(gunicorn-app-package app))))
(app-profile (profile
(content app-manifest)