diff options
author | Arun Isaac | 2023-12-22 11:52:10 +0000 |
---|---|---|
committer | Arun Isaac | 2023-12-22 12:16:10 +0000 |
commit | 74d1c253174504b4c41b4423298398d8e6d07ac3 (patch) | |
tree | 7a4684fe387d0aa0939a7aac706f1844026d32fb /guix/forge | |
parent | 78ce441925e29acb01e8c98a6133a6e5b917a319 (diff) | |
download | guix-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.
Diffstat (limited to 'guix/forge')
-rw-r--r-- | guix/forge/gunicorn.scm | 7 |
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) |