From 74d1c253174504b4c41b4423298398d8e6d07ac3 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Fri, 22 Dec 2023 11:52:10 +0000 Subject: 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. --- guix/forge/gunicorn.scm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'guix') 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) -- cgit v1.2.3